aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSyohei YOSHIDA <syohex@gmail.com>2016-10-16 02:06:50 +0900
committerGitHub <noreply@github.com>2016-10-16 02:06:50 +0900
commitb58606046acd8dcdf9d0195ae24f7aae4fb5cb1e (patch)
tree0edd9b36556e20671bff6013fa1e2051b903bb2c
parentadding cloudfoundry compdef (diff)
parentAdd `config` and `export` commands to _rkt. (diff)
downloadzsh-completions-b58606046acd8dcdf9d0195ae24f7aae4fb5cb1e.tar
zsh-completions-b58606046acd8dcdf9d0195ae24f7aae4fb5cb1e.tar.gz
zsh-completions-b58606046acd8dcdf9d0195ae24f7aae4fb5cb1e.tar.bz2
zsh-completions-b58606046acd8dcdf9d0195ae24f7aae4fb5cb1e.tar.lz
zsh-completions-b58606046acd8dcdf9d0195ae24f7aae4fb5cb1e.tar.xz
zsh-completions-b58606046acd8dcdf9d0195ae24f7aae4fb5cb1e.tar.zst
zsh-completions-b58606046acd8dcdf9d0195ae24f7aae4fb5cb1e.zip
Merge pull request #458 from foudfou/master
Add `config` and `export` commands to _rkt.
-rw-r--r--src/_rkt13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/_rkt b/src/_rkt
index db3a7fb..dd5c442 100644
--- a/src/_rkt
+++ b/src/_rkt
@@ -70,11 +70,22 @@ _rkt() {
'--pretty-print[apply indent to format the output]' \
;;
+ config)
+ _arguments \
+ '--pretty-print[apply indent to format the output]' \
+ ;;
+
enter)
_arguments \
'--app=:appname' \
;;
+ export)
+ _arguments \
+ '--app=:appname' \
+ '--overwrite[overwrite output ACI]' \
+ ;;
+
fetch)
_arguments \
'--full[print the full image hash after fetching]' \
@@ -234,7 +245,9 @@ _rkt_cmds() {
commands=(
'api-service:Run API service'
'cat-manifest:Inspect and print the pod manifest'
+ 'config:Print configuration for each stage in JSON format'
'enter:Enter the namespaces of an app within a rkt pod'
+ 'export:Export an app from an exited pod to an ACI file'
'fetch:Fetch image(s) and store them in the local store'
'gc:Garbage collect rkt pods no longer in use'
'image:Operate on image(s) in the local store'