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
6fd77fa698
commit
a3e30c3eed
|
@ -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() {
|
||||
COMPREPLY=( $( compgen -W "--help --quiet -q --services" -- "$cur" ) )
|
||||
}
|
||||
|
@ -455,6 +467,7 @@ _docker_compose() {
|
|||
|
||||
local commands=(
|
||||
build
|
||||
bundle
|
||||
config
|
||||
create
|
||||
down
|
||||
|
|
Loading…
Reference in New Issue