0.3.2 • Published 3 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/cli
Authenticate TypeCloud CLI
To access the TypeCloud services from your terminal on your behalf you need to log in with your credentials:
$ typecloud login
This 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_KEY
Deploy TypeCloud Services
Use CLI command to push your cloud configuration to TypeCloud:
$ typecloud deploy
You can specify a custom cloud configuration file:
$ typecloud deploy --config ./typecloud-dev.config.ts
You can also specify which services you want to deploy:
$ typecloud deploy WebSite,Mailer