Merge pull request #3625 from albers/completion-bundle

bash completion for `docker-compose bundle`
This commit is contained in:
Joffrey F 2016-06-28 15:52:37 -07:00 committed by GitHub
commit 93cc2675c8
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" ) )
}
@ -467,6 +479,7 @@ _docker_compose() {
local commands=(
build
bundle
config
create
down