The apex
CLI is a one-stop shop for all projects across all languages.
It's a
- Project templating and scaffolding tool
- Extensible code generation tool
- Task runner
For more information, visit https://apexlang.io.
The apex
CLI depends on Deno.
Install deno
with instructions
here.
To install a release version of the apex
CLI, run the command below:
deno install -A -f -n apex https://deno.land/x/[email protected]/apex.ts
To install from source, clone this repository and run ./apex install
git clone https://github.com/apexlang/apex.git
cd apex
./apex install # or deno install -A -f ./apex.ts
Visit https://apexlang.io for official documentation and usage.
apex --help
Output:
Usage: apex
Version: v0.1.2
Description:
A complete project tool suite based on Apexlang, an interface definition language (IDL) for modeling software.
Options:
-h, --help - Show this help.
-V, --version - Show the version number for this program.
Commands:
install <location> - Install templates locally.
new <template> <dir> - Create a new project directory using a template.
init <template> - Initialize a project using a template.
generate [configuration...] - Run Apexlang generators from a given configuration.
list - List available resources.
describe - Describe available resources.
watch [configuration...] - Watch configuration for changes and trigger code generation.
run [tasks...] - Run tasks.
upgrade - Upgrade apex executable to latest or given version.
help [command] - Show this help or the help of a sub-command.
completions - Generate shell completions.
To run tests, run the command below:
apex test
To run the development version of the apex
CLI, use the apex
script in the
root of this repository, e.g.
./apex help
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details