SPAI CLI
The SPAI Command Line Interface (CLI) is a tool for running, deploying and managining your SPAI applications.
Available Commands
You can get a list of the available commands by running:
spai --help
- api: Get SPAI API url and status.
- auth: Authentication commands (login and logout).
- clone: Clone a SPAI template project.
- delete: Delete a SPAI application.
- deploy: Deploy a SPAI application.
- init: Create a new project from starter template.
- install: Install depedencies for a SPAI application.
- list: List all your SPAI applications running on the cloud.
- logs: Get logs for a service.
- run: Run a SPAI application locally.
- stop: Stop a SPAI application.
- version: Get the version of the SPAI CLI.
Each command has its own help page, which you can access by running spai <command> --help
. For example:
spai auth --help
Will show you the help page for the auth
command, with the available subcommands and options.
Troubleshooting
If you encounter any issues during the installation of SPAI, please get in touch with use through our Discord server.
Back to top