deploz-cli
v0.0.3
Published
deploz-cli ==========
Downloads
4
Readme
deploz-cli
Usage
$ npm install -g deploz-cli
$ deploz COMMAND
running command...
$ deploz (-v|--version|version)
deploz-cli/0.0.3 darwin-x64 node-v13.13.0
$ deploz --help [COMMAND]
USAGE
$ deploz COMMAND
...
Commands
deploz autocomplete [SHELL]
deploz client
deploz help [COMMAND]
deploz repo
deploz repo:add TYPE
deploz repo:list
deploz repo:remove
deploz service
deploz update [CHANNEL]
deploz autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ deploz autocomplete [SHELL]
ARGUMENTS
SHELL shell type
OPTIONS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
EXAMPLES
$ deploz autocomplete
$ deploz autocomplete bash
$ deploz autocomplete zsh
$ deploz autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
deploz client
Deploys a client app to production. It uses a defined branch as the state of the production app
USAGE
$ deploz client
OPTIONS
-b, --branch=branch [default: production] Define the branch name that you want to use as your production branch
-c, --commit Use if you want to deploy for a specific commit, otherwise it will be the last commit
-h, --help show CLI help
-l, --limit=limit [default: 10] Define how many commits you want to choose from
-p, --path=path [default: /Users/dgergacz/workspace/deploz-cli] Use a path where your repository is checked out
that you want to deploy, otherwise it will be the current one
See code: src/commands/client.ts
deploz help [COMMAND]
display help for deploz
USAGE
$ deploz help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
deploz repo
Manages and deploys predefined repositories
USAGE
$ deploz repo
OPTIONS
-c, --commit Use if you want to deploy for a specific commit, otherwise it will be the last commit
-h, --help show CLI help
-l, --limit=limit [default: 10] Define how many commits you want to choose from
See code: src/commands/repo/index.ts
deploz repo:add TYPE
Adds a repository
USAGE
$ deploz repo:add TYPE
ARGUMENTS
TYPE (service|client) Define the type of the repository, it specifies how it will be deployed
OPTIONS
-h, --help show CLI help
See code: src/commands/repo/add.ts
deploz repo:list
Lists the added repositories
USAGE
$ deploz repo:list
See code: src/commands/repo/list.ts
deploz repo:remove
Removes a repository
USAGE
$ deploz repo:remove
OPTIONS
-h, --help show CLI help
See code: src/commands/repo/remove.ts
deploz service
Deploys a service app to production. It creates an incremental tag for the selected commit based in the tag prefix given
USAGE
$ deploz service
OPTIONS
-c, --commit Use if you want to deploy for a specific commit, otherwise it will be the last commit
-h, --help show CLI help
-l, --limit=limit [default: 10] Define how many commits you want to choose from
-p, --path=path [default: /Users/dgergacz/workspace/deploz-cli] Use a path where your repository is checked out
that you want to deploy, otherwise it will be the current one
-t, --tag=tag [default: release-production] Define the tag prefix that you want to use as the prefix for your
production deploys
See code: src/commands/service.ts
deploz update [CHANNEL]
update the deploz CLI
USAGE
$ deploz update [CHANNEL]
See code: @oclif/plugin-update