mirror of https://github.com/docker/cli.git
Merge pull request #251 from albers/completion-plugin-events
Add bash completion for plugin events
This commit is contained in:
commit
d1ccfcaf2a
|
@ -4231,13 +4231,16 @@ _docker_system_events() {
|
||||||
destroy
|
destroy
|
||||||
detach
|
detach
|
||||||
die
|
die
|
||||||
|
disable
|
||||||
disconnect
|
disconnect
|
||||||
|
enable
|
||||||
exec_create
|
exec_create
|
||||||
exec_detach
|
exec_detach
|
||||||
exec_start
|
exec_start
|
||||||
export
|
export
|
||||||
health_status
|
health_status
|
||||||
import
|
import
|
||||||
|
install
|
||||||
kill
|
kill
|
||||||
load
|
load
|
||||||
mount
|
mount
|
||||||
|
@ -4246,6 +4249,7 @@ _docker_system_events() {
|
||||||
pull
|
pull
|
||||||
push
|
push
|
||||||
reload
|
reload
|
||||||
|
remove
|
||||||
rename
|
rename
|
||||||
resize
|
resize
|
||||||
restart
|
restart
|
||||||
|
@ -4271,7 +4275,7 @@ _docker_system_events() {
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
type)
|
type)
|
||||||
COMPREPLY=( $( compgen -W "container daemon image network volume" -- "${cur##*=}" ) )
|
COMPREPLY=( $( compgen -W "container daemon image network plugin volume" -- "${cur##*=}" ) )
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
volume)
|
volume)
|
||||||
|
|
Loading…
Reference in New Issue