0.3.2 • Published 5 years ago
@typecloud/cli v0.3.2
@typecloud/cli
The TypeCloud command line interface (CLI) is the primary tool to deploy and manage your TypeCloud services.
Install the TypeCloud CLI Tool
$ npm install -g @typecloud/cliAuthenticate TypeCloud CLI
To access the TypeCloud services from your terminal on your behalf you need to log in with your credentials:
$ typecloud loginThis command opens TypeCloud Admin Console in your web browser where you need to log in. After a successful authentication in the browser, the CLI writes an access key into ~/.typecloud/config.yml. From there it is used for all subsequent requests made by the CLI against TypeCloud.
$ typecloud login --key YOUR_ACCESS_KEYDeploy TypeCloud Services
Use CLI command to push your cloud configuration to TypeCloud:
$ typecloud deployYou can specify a custom cloud configuration file:
$ typecloud deploy --config ./typecloud-dev.config.tsYou can also specify which services you want to deploy:
$ typecloud deploy WebSite,Mailer