diff options
author | rco-ableton <rco@ableton.com> | 2018-05-16 17:40:42 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2018-05-16 17:40:42 +0200 |
commit | c3493dc5ceb87a5c74d288f30fbe4bdbf4cb97c5 (patch) | |
tree | 851330d7600dbec1314ba8470abb6b732a11452e /plugins/heroku | |
parent | afba4f6b9feb3a9dde4331cd2ed892c4da2df6e3 (diff) | |
download | zsh-c3493dc5ceb87a5c74d288f30fbe4bdbf4cb97c5.tar.gz zsh-c3493dc5ceb87a5c74d288f30fbe4bdbf4cb97c5.tar.bz2 zsh-c3493dc5ceb87a5c74d288f30fbe4bdbf4cb97c5.zip |
Add Heroku pipelines support (#5660)
Diffstat (limited to 'plugins/heroku')
-rw-r--r-- | plugins/heroku/_heroku | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/plugins/heroku/_heroku b/plugins/heroku/_heroku index 878d3ce1b..f26595e00 100644 --- a/plugins/heroku/_heroku +++ b/plugins/heroku/_heroku @@ -45,6 +45,18 @@ _1st_arguments=( "logs\:drains":"manage syslog drains" "maintenance\:on":"put the app into maintenance mode" "maintenance\:off":"take the app out of maintenance mode" + "pipelines":"list pipelines you have access to" + "pipelines\:add":"add this app to a pipeline" + "pipelines\:create":"create a new pipeline" + "pipelines\:destroy":"destroy a pipeline" + "pipelines\:diff":"compares the latest release of this app to its downstream app(s)" + "pipelines\:info":"show list of apps in a pipeline" + "pipelines\:list":"list pipelines you have access to" + "pipelines\:open":"open a pipeline in dashboard" + "pipelines\:promote":"promote the latest release of this app to its downstream app(s)" + "pipelines\:remove":"remove this app from its pipeline" + "pipelines\:rename":"rename a pipeline" + "pipelines\:update":"update this app's stage in a pipeline" "pg\:credentials":"display the DATABASE credentials" "pg\:diagnose":"run diagnostics report on DATABASE" "pg\:info":"display database information" @@ -131,6 +143,41 @@ case "$words[1]" in '(-t|--tail)'{-t,--tail}'[continually stream logs]' \ ) ;; + pipelines) + _command_args=( + '(--json)'--json'[output in json format]' \ + ) + ;; + pipelines:add) + _command_args=( + '(-s|--stage)'{-s,--stage}'[stage of first app in pipeline]' \ + ) + ;; + pipelines:create) + _command_args=( + '(-s|--stage)'{-s,--stage}'[stage of first app in pipeline]' \ + ) + ;; + pipelines:info) + _command_args=( + '(--json)'--json'[output in json format]' \ + ) + ;; + pipelines:list) + _command_args=( + '(--json)'--json'[output in json format]' \ + ) + ;; + pipelines:promote) + _command_args=( + '(-t|--to)'{-t,--to}'[comma separated list of apps to promote to]' \ + ) + ;; + pipelines:update) + _command_args=( + '(-s|--stage)'{-s,--stage}'[stage of first app in pipeline]' \ + ) + ;; pgbackups:capture) _command_args=( '(-e|--expire)'{-e,--expire}'[if no slots are available to capture, delete the oldest backup to make room]' \ |