bash completion for `docker manifest ls`

Signed-off-by: Wayne Cheng <zhengwei@tiduyun.com>
This commit is contained in:
Wayne Cheng 2024-01-01 16:28:37 +08:00
parent 72ef456387
commit 402a3400f0
1 changed files with 13 additions and 0 deletions

View File

@ -4140,6 +4140,11 @@ _docker_manifest() {
inspect
push
rm
ls
"
local aliases="
list
"
__docker_subcommands "$subcommands" && return
@ -4249,6 +4254,14 @@ _docker_manifest_rm() {
esac
}
_docker_manifest_ls() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--format --help --quiet -q" -- "$cur" ) )
;;
esac
}
_docker_node() {
local subcommands="
demote