mirror of https://github.com/docker/compose.git
Merge pull request #3626 from albers/completion-push
bash completion for `docker-compose push`
This commit is contained in:
commit
3649df83ab
|
@ -304,6 +304,18 @@ _docker_compose_pull() {
|
|||
}
|
||||
|
||||
|
||||
_docker_compose_push() {
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--help --ignore-push-failures" -- "$cur" ) )
|
||||
;;
|
||||
*)
|
||||
__docker_compose_services_all
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
_docker_compose_restart() {
|
||||
case "$prev" in
|
||||
--timeout|-t)
|
||||
|
@ -467,6 +479,7 @@ _docker_compose() {
|
|||
port
|
||||
ps
|
||||
pull
|
||||
push
|
||||
restart
|
||||
rm
|
||||
run
|
||||
|
|
Loading…
Reference in New Issue