Altostra CLI
Manage and deploy Altostra projects from your terminal.
Installation
It is assumed that you have Node.js and npm installed.
npm install -g @altostra/cli
Using
To run Altostra commands:
alto <command> [flags] [arguments]
Commands
Command | Aliases | Description |
---|---|---|
alto account | accounts , team , teams | Switch between personal and team accounts |
alto activity-log | List recently completed tasks | |
alto api-key | Manage API keys | |
alto build | compile | Build the project to an AWS SAM template and save to sam-template.json |
alto config | Manage local Altostra configuration | |
alto console | Open the Altostra Web Console for the this project | |
alto deploy | Deploy an Altostra project | |
alto deploy-sam | Deploy an AWS SAM managed project | |
alto deploy-sls | Deploy a Serverless Framework managed project | |
alto deploy-cfn | Deploy an AWS CloudFormation managed project | |
alto docs | Open the Altostra documentation | |
alto endpoints | domains , get-domains | List the available domains for supported resources in a deployed Stack |
alto environments | environment , env , envs | Manage Altostra environments |
alto import | Import a project from a Git repository | |
alto init | Initialize an Altostra project in the current directory | |
alto invalidate | Clear CDN caches | |
alto local | execute , exec | Run resources locally |
alto login | Log in to your Altostra account | |
alto logout | Log out of your Altostra account | |
alto new | Initialize an Altostra project in a new directory | |
alto projects | project | Manage Altostra projects |
alto push | Push a new version of the project to your Altostra repository | |
alto stacks | stack , instances , instance , deployments , deployment | Manage project stacks |
alto sync | Uploads files to buckets | |
alto tasks | List currently running tasks | |
alto templates | get-templates , list-templates | List all available project templates |
alto versions | version , images , image | List the available published versions for the project |
alto whoami | Shows logged-in user |
Options
Option | Alias | Description |
---|---|---|
--debug | Logs debug data to your temp dir | |
--help | Show help for a command | |
--verbose | -v | Show detailed information for commands to the terminal |
--version | Show the currently installed Altostra CLI version | |
--text | Output results as plain text without decoration for piping to other commands | |
--json | Output results as JSON for piping to other commands |