Add `config` and `export` commands to _rkt.

This commit is contained in:
foudfou 2016-10-15 16:58:47 +02:00
parent f0438a05ed
commit b9ab8f5c5c
1 changed files with 13 additions and 0 deletions

View File

@ -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'