Overview
The Suga CLI is a powerful tool for building, developing, and managing cloud-native applications with the Suga platform.Install Suga CLI
Install the Suga CLI on your system to get started.
Quick Start
Commands Overview
Command | Description |
---|---|
suga access-token | Get access token |
suga build | Builds the Suga application |
suga completion | Generate shell autocompletion |
suga config | Manage CLI configuration |
suga dev | Run the Suga application in development mode |
suga edit | Edit the Suga application |
suga generate | Generate client libraries for Suga |
suga init | Setup a new Suga project |
suga login | Login to Suga |
suga logout | Logout from Suga |
suga new | Create a new Suga project |
suga team | Switch between teams |
suga templates | List available templates |
suga version | Print the Suga CLI version |
Everyday Commands
Create Projects
Use
suga new
to create projects from templates or suga init
to add Suga
to existing appsVisual Editor
Use
suga edit
to design your application architecture and configure
deployment targetsLocal Development
Use
suga dev
to run your application locally with hot reload and instant
feedbackGenerate Clients
Use
suga generate
to create type-safe client libraries for your APIsBuild Terraform
Use
suga build
to generate Terraform infrastructure code for your
deployment targetTeam Authentication
Use
suga login
to connect to Suga PlatformGlobal Options
-h, --help
- Show help for any command
suga version
to display the CLI version.