client: docker: add exec wrapper, update completion
This commit is contained in:
@@ -46,7 +46,7 @@ function docker-finance::completion()
|
||||
mapfile -t _images < <(docker images --format "{{.Repository}}:{{.Tag}}" --filter=reference='docker-finance/*/*:*' | cut -d'/' -f2- | grep $USER)
|
||||
declare -r _images
|
||||
|
||||
local -r _commands=("gen" "edit" "build" "update" "backup" "rm" "up" "down" "start" "stop" "run" "shell" "version" "license" "linter" "doxygen" "plugins")
|
||||
local -r _commands=("gen" "edit" "build" "update" "backup" "rm" "up" "down" "start" "stop" "run" "shell" "exec" "version" "license" "linter" "doxygen" "plugins")
|
||||
|
||||
local _reply
|
||||
|
||||
@@ -86,7 +86,7 @@ function docker-finance::completion()
|
||||
update)
|
||||
mapfile -t _reply < <(compgen -W "help type${global_arg_delim_2}" -- "$_cur")
|
||||
;;
|
||||
backup | rm | up | down | start | stop)
|
||||
backup | rm | up | down | start | stop | exec)
|
||||
# TODO: _currently no-op
|
||||
;;
|
||||
shell)
|
||||
|
||||
Reference in New Issue
Block a user