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 -g -A --unstable-worker-options -f -n apex jsr:@apexlang/apex
To install from source, clone this repository and run ./apex install
git clone https://github.com/apexlang/apex.git
cd apex
deno install -g -A --unstable-worker-options -f ./mod.tsVisit https://apexlang.io for official documentation and usage.
apex --helpOutput:
Usage: apex
Version: 0.2.7
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 testTo run the development version of the apex CLI, use the apex script in the
root of this repository, e.g.
./apex helpPlease 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