CLI
The Command Line Interface for DeepStructure
Install the ds
CLI with:
npm install -g @deepstructure/cli
You can always list the most recent set of CLI subcommands by running ds
:
$ ds
ds <command>
Commands:
ds app Manage applications
ds branch Manage deployment branches
ds build Build application for deployment
ds deploy Deploy application to DeepStructure Cloud
ds dev Run development server
ds down <id> Tear down deployed resources
ds env Manage environment variables
ds list [app] List deployments
ds login Log in to DeepStructure Cloud
ds logs Stream logs from current Environment
ds secret Manage secrets
ds shell Open shell in remote development environment
ds team Select the team to use for a logged in user
ds status Get the current status info for the app and its deployment
Options:
--version Show version number [boolean]
-t, --token [string]
-f, --format output format [string] [choices: "json", "yaml"]
--help Show help [boolean]
And see more detailed information about subcommands by running the subcommand without arguments:
$ ds app
ds app
Manage applications
Commands:
ds app add [name] Add a new Application
ds app reset Reset an Application's Database
ds app rm [name] Remove an Application
ds app list List Applications
Options:
--version Show version number [boolean]
-t, --token [string]
-f, --format output format [string] [choices: "json", "yaml"]
--help Show help [boolean]
Updated 4 months ago