bash completion for `docker-compose create`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2016-01-25 10:15:14 +01:00
parent 35788f47ff
commit 7f3a319ecc
1 changed files with 13 additions and 0 deletions

View File

@ -107,6 +107,18 @@ _docker_compose_config() {
}
_docker_compose_create() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--force-recreate --help --no-build --no-recreate" -- "$cur" ) )
;;
*)
__docker_compose_services_all
;;
esac
}
_docker_compose_docker_compose() {
case "$prev" in
--file|-f)
@ -409,6 +421,7 @@ _docker_compose() {
local commands=(
build
config
create
down
events
help