CLI Commands
Complete reference for all Apso CLI commands.
Project commands
| Command | Description |
|---|---|
apso init | Create a new project or clone an existing one |
apso generate | Generate code from .apsorc schema |
apso dev | Start local dev server via Docker Compose |
Schema commands
| Command | Description |
|---|---|
apso migrate | Test schema migrations locally with PGlite |
apso schema validate | Validate local .apsorc schema |
apso schema diff | Show diff between local and remote schema |
apso schema push | Push local schema to platform |
apso schema pull | Pull remote schema to local .apsorc |
Deployment commands
| Command | Description |
|---|---|
apso deploy | Deploy to Apso platform |
apso status | Show service and build status |
apso logs | View build logs |
apso open | Open service dashboard in browser |
Authentication commands
| Command | Description |
|---|---|
apso login | Authenticate with Apso platform |
apso logout | Clear stored credentials |
apso whoami | Show current authenticated user |
Platform commands
| Command | Description |
|---|---|
apso link | Link project to a platform service |
apso unlink | Remove platform link |
apso projects | List services in a workspace |
apso config | View or modify CLI configuration |
Global options
These options work with any command:
apso [command] --help # Show command help
apso [command] --version # Show CLI versionDeprecated commands
The following commands still work but redirect to their replacements:
| Old command | Replacement |
|---|---|
apso server new | apso init |
apso server scaffold | apso generate |
Command details
Last updated on