bash completion for `docker-compose bundle`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2016-06-22 17:04:22 +02:00 committed by Aanand Prasad
parent 6fd77fa698
commit a3e30c3eed
1 changed files with 13 additions and 0 deletions

View File

@ -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