mirror of https://github.com/docker/compose.git
add zsh completion support for bundle
Signed-off-by: Ke Xu <leonhartx.k@gmail.com>
This commit is contained in:
parent
72849d99c0
commit
21d114b879
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue