Skip to content

Commit

Permalink
Merge pull request sorin-ionescu#458 from foudfou/master
Browse files Browse the repository at this point in the history
Add `config` and `export` commands to _rkt.
  • Loading branch information
syohex authored Oct 15, 2016
2 parents f0438a0 + b9ab8f5 commit b586060
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/_rkt
Original file line number Diff line number Diff line change
Expand Up @@ -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]' \
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit b586060

Please sign in to comment.