0.0.8 • Published 4 years ago
stw-cli v0.0.8
stw-cli
STATEWIZE CLI
Usage
$ npm install -g stw-cli
$ stw COMMAND
running command...
$ stw (-v|--version|version)
stw-cli/0.0.7 darwin-x64 node-v14.15.3
$ stw --help [COMMAND]
USAGE
$ stw COMMAND
...
Commands
stw deploy
Deploy functions to STATEWIZE. Documentation can be found here: https://docs.statewize.com/sdk-and-cli/ci-cd-integration
USAGE
$ stw deploy
OPTIONS
-a, --apiKey=apiKey (required) Your private API key (fetch from /settings/user-settings)
-f, --specFile=specFile STATEWIZE Specfile for deployment
-h, --help show CLI help
-i, --externalId=externalId External ID (your ID) used to identify this function and its deployment
-p, --publicKey=publicKey (required) Your public key (fetch from /settings/user-settings)
EXAMPLES
$ stw deploy -p $MY_PUBLIC_KEY -a $MY_PRIVATE_KEY
$ stw deploy -i $CI_BUILD_ID -f custom-specfile.json --publicKey=$MY_PUBLIC_KEY --apiKey=$MY_PRIVATE_API_KEY
Documentation can be found here: https://docs.statewize.com/sdk-and-cli/ci-cd-integration
See code: src/commands/deploy.ts
stw help [COMMAND]
display help for stw
USAGE
$ stw help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help