add zsh completion support for bundle

Signed-off-by: Ke Xu <leonhartx.k@gmail.com>
This commit is contained in:
Ke Xu 2016-06-27 17:48:14 +09:00 committed by Aanand Prasad
parent 72849d99c0
commit 21d114b879
1 changed files with 5 additions and 0 deletions

View File

@ -204,6 +204,11 @@ __docker-compose_subcommand() {
'--pull[Always attempt to pull a newer version of the image.]' \ '--pull[Always attempt to pull a newer version of the image.]' \
'*:services:__docker-compose_services_from_build' && ret=0 '*:services:__docker-compose_services_from_build' && ret=0
;; ;;
(bundle)
_arguments \
$opts_help \
'(--output -o)'{--output,-o}'[Path to write the bundle file to. Defaults to "<project name>.dsb".]:file:_files' && ret=0
;;
(config) (config)
_arguments \ _arguments \
$opts_help \ $opts_help \