Booster CLI
Booster CLI is a command line interface that helps you to create, develop, and deploy your Booster applications. It is built with Node.js and published to NPM through the package @boostercloud/cli
. You can install it using any compatible package manager. If you want to contribute to the project, you will also need to clone the GitHub repository and compile the source code.
Installation
The preferred way to install the Booster CLI is through NPM. You can install it following the instructions in the Node.js website.
Once you have NPM installed, you can install the Booster CLI by running this command:
npm install -g @boostercloud/cli
Usage
Once the installation is finished, you will have the boost
command available in your terminal. You can run it to see the help message.
You can also run boost --help
to get the same output.
Command Overview
Command | Description |
---|---|
new:project | Creates a new Booster project in a new directory |
new:command | Creates a new command in the project |
new:entity | Creates a new entity in the project |
new:event | Creates a new event in the project |
new:event-handler | Creates a new event handler in the project |
new:read-model | Creates a new read model in the project |
new:scheduled-command | Creates a new scheduled command in the project |
start -e <environment> | Starts the project in development mode |
build | Builds the project |
deploy -e <environment> | Deploys the project to the cloud |
nuke | Deletes all the resources created by the deploy command |