Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
c3493dc5
Commit
c3493dc5
authored
May 16, 2018
by
rco-ableton
Committed by
Marc Cornellà
May 16, 2018
Browse files
Add Heroku pipelines support (#5660)
parent
afba4f6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/heroku/_heroku
View file @
c3493dc5
...
@@ -45,6 +45,18 @@ _1st_arguments=(
...
@@ -45,6 +45,18 @@ _1st_arguments=(
"logs\:drains":"manage syslog drains"
"logs\:drains":"manage syslog drains"
"maintenance\:on":"put the app into maintenance mode"
"maintenance\:on":"put the app into maintenance mode"
"maintenance\:off":"take the app out of 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\:credentials":"display the DATABASE credentials"
"pg\:diagnose":"run diagnostics report on DATABASE"
"pg\:diagnose":"run diagnostics report on DATABASE"
"pg\:info":"display database information"
"pg\:info":"display database information"
...
@@ -131,6 +143,41 @@ case "$words[1]" in
...
@@ -131,6 +143,41 @@ case "$words[1]" in
'(-t|--tail)'{-t,--tail}'[continually stream logs]' \
'(-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)
pgbackups:capture)
_command_args=(
_command_args=(
'(-e|--expire)'{-e,--expire}'[if no slots are available to capture, delete the oldest backup to make room]' \
'(-e|--expire)'{-e,--expire}'[if no slots are available to capture, delete the oldest backup to make room]' \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment