Add bash completion for config subcommand

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2015-12-08 10:23:55 -08:00
parent dc39b01e00
commit a5b48a3dc2
1 changed files with 6 additions and 0 deletions

View File

@ -102,6 +102,11 @@ _docker_compose_build() {
} }
_docker_compose_config() {
COMPREPLY=( $( compgen -W "--help --quiet -q --services" -- "$cur" ) )
}
_docker_compose_docker_compose() { _docker_compose_docker_compose() {
case "$prev" in case "$prev" in
--file|-f) --file|-f)
@ -373,6 +378,7 @@ _docker_compose() {
local commands=( local commands=(
build build
config
help help
kill kill
logs logs