mirror of https://github.com/docker/compose.git
bash completion for `docker-compose bundle`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
352cdf0a80
commit
e5c5dc09f8
|
@ -109,6 +109,18 @@ _docker_compose_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
_docker_compose_bundle() {
|
||||||
|
case "$prev" in
|
||||||
|
--output|-o)
|
||||||
|
_filedir
|
||||||
|
return
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
COMPREPLY=( $( compgen -W "--help --output -o" -- "$cur" ) )
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
_docker_compose_config() {
|
_docker_compose_config() {
|
||||||
COMPREPLY=( $( compgen -W "--help --quiet -q --services" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--help --quiet -q --services" -- "$cur" ) )
|
||||||
}
|
}
|
||||||
|
@ -455,6 +467,7 @@ _docker_compose() {
|
||||||
|
|
||||||
local commands=(
|
local commands=(
|
||||||
build
|
build
|
||||||
|
bundle
|
||||||
config
|
config
|
||||||
create
|
create
|
||||||
down
|
down
|
||||||
|
|
Loading…
Reference in New Issue