@banphlet/herokudep
v0.1.2
Published
Simple Cli for managing heroku deployments
Downloads
15
Maintainers
Readme
@banphlet/herokudep
Simple Cli for managing heroku deployments. This Cli allows you to deploy single or multiple heroku apps. After each deployment we make a request to the application health route /health
. Ensure you have provided a health route in your application with the path /health
or you can pass -s
to skip checking the application health.
Usage
$ npm install -g @banphlet/herokudep
$ herokudep COMMAND
running command...
$ herokudep (-v|--version|version)
@banphlet/herokudep/0.1.0 darwin-x64 node-v8.16.1
$ herokudep --help [COMMAND]
USAGE
$ herokudep COMMAND
...
Commands
herokudep deploy
Deploy heroku applications using one command.
USAGE
$ herokudep deploy
OPTIONS
-a, --app=app (required) app to run command against
-h, --help show CLI help
-s, --skipHealthCheck=skipHealthCheck [default: false] Skip checking /health endpoint for application health status
-t, --token=token (required) Heroku api token
-v, --version show CLI version
EXAMPLES
$ herokudep deploy -t heroku-token -a heroku-app
$ herokudep deploy -t heroku-token -a heroku-app -s // pass -s to skip checking application health
See code: src/commands/deploy.ts
herokudep help [COMMAND]
display help for herokudep
USAGE
$ herokudep help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
herokudep start
Deploy multiple services to different heroku apps. Requires you have services.json in the root of your application
USAGE
$ herokudep start
OPTIONS
-h, --help show CLI help
-t, --token=token (required) Heroku api token
-v, --version show CLI version
EXAMPLE
$ herokudep -t heroku token
See code: src/commands/start.ts
See examples here examples
HAPPY HACKING ❤