​
These are the Plantt Tools. They can be used to deploy and manage code and assets to your Plantt projects.
To get started with the Plantt CLI, read the full list of commands below.
To install the Plantt CLI, you first need to sign up for a Plantt account.
Then you need to install Node.js and npm. Note that installing Node.js should install npm as well.
Once npm is installed, open a terminal window and run the following command:
npm install -g plantt
This will provide you with the globally accessible plantt
command.
The command plantt --help
lists the available commands and plantt <command> --help
shows more details for a specific command.
Most commands require you to be authenticated. To login, run the following command:
plantt login
You will be asked to enter your username & password for your Plantt account. Once you have logged in successfully, you can start using the CLI tools.
Below is a brief list of the available commands and their function:
Command | Description |
login | Authenticate to your Plantt account. |
list | Print a list of all of your Plantt projects. |
init | Setup a new Plantt project in the current directory. This command will create a |
help | Display help information about the CLI or specific commands. |
These commands let you deploy and manage code in your Plantt project.
Command | Description |
functions:deploy | Deploy a function to your Plantt project. |
functions:list | List all available functions in your Plantt project. |
You can create, update and get available conversation flows in your project with the following commands.
Command | Description |
flows:deploy | Deploy a flow to your Plantt project. If already exist it'll be updated. |
flows:list | List all available flows in your Plantt project. |