mirror of https://github.com/docker/cli.git
Update shell completion scripts
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
This commit is contained in:
parent
b4af799686
commit
d8ecb00dda
|
@ -307,7 +307,7 @@ complete -c docker -A -f -n '__fish_seen_subcommand_from export' -a '(__fish_pri
|
||||||
|
|
||||||
# history
|
# history
|
||||||
complete -c docker -f -n '__fish_docker_no_subcommand' -a history -d 'Show the history of an image'
|
complete -c docker -f -n '__fish_docker_no_subcommand' -a history -d 'Show the history of an image'
|
||||||
complete -c docker -A -f -n '__fish_seen_subcommand_from history' -l format -d 'Pretty-print images using a Go template'
|
complete -c docker -A -f -n '__fish_seen_subcommand_from history' -l format -d 'Format the output using the given Go template'
|
||||||
complete -c docker -A -f -n '__fish_seen_subcommand_from history' -l help -d 'Print usage'
|
complete -c docker -A -f -n '__fish_seen_subcommand_from history' -l help -d 'Print usage'
|
||||||
complete -c docker -A -f -n '__fish_seen_subcommand_from history' -s H -l human -d 'Print sizes and dates in human readable format'
|
complete -c docker -A -f -n '__fish_seen_subcommand_from history' -s H -l human -d 'Print sizes and dates in human readable format'
|
||||||
complete -c docker -A -f -n '__fish_seen_subcommand_from history' -l no-trunc -d "Don't truncate output"
|
complete -c docker -A -f -n '__fish_seen_subcommand_from history' -l no-trunc -d "Don't truncate output"
|
||||||
|
@ -319,7 +319,7 @@ complete -c docker -f -n '__fish_docker_no_subcommand' -a images -d 'List images
|
||||||
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -s a -l all -d 'Show all images (default hides intermediate images)'
|
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -s a -l all -d 'Show all images (default hides intermediate images)'
|
||||||
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -l digests -d 'Show digests'
|
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -l digests -d 'Show digests'
|
||||||
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -s f -l filter -d 'Filter output based on conditions provided'
|
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -s f -l filter -d 'Filter output based on conditions provided'
|
||||||
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -l format -d 'Pretty-print images using a Go template'
|
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -l format -d 'Format the output using the given Go template'
|
||||||
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -l help -d 'Print usage'
|
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -l help -d 'Print usage'
|
||||||
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -l no-trunc -d "Don't truncate output"
|
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -l no-trunc -d "Don't truncate output"
|
||||||
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -s q -l quiet -d 'Only show image IDs'
|
complete -c docker -A -f -n '__fish_seen_subcommand_from images' -s q -l quiet -d 'Only show image IDs'
|
||||||
|
|
|
@ -803,7 +803,7 @@ __docker_container_subcommand() {
|
||||||
"($help -a --all)"{-a,--all}"[Show all containers]" \
|
"($help -a --all)"{-a,--all}"[Show all containers]" \
|
||||||
"($help)--before=[Show only container created before...]:containers:__docker_complete_containers" \
|
"($help)--before=[Show only container created before...]:containers:__docker_complete_containers" \
|
||||||
"($help)*"{-f=,--filter=}"[Filter values]:filter:__docker_complete_ps_filters" \
|
"($help)*"{-f=,--filter=}"[Filter values]:filter:__docker_complete_ps_filters" \
|
||||||
"($help)--format=[Pretty-print containers using a Go template]:template: " \
|
"($help)--format=[Format the output using the given Go template]:template: " \
|
||||||
"($help -l --latest)"{-l,--latest}"[Show only the latest created container]" \
|
"($help -l --latest)"{-l,--latest}"[Show only the latest created container]" \
|
||||||
"($help -n --last)"{-n=,--last=}"[Show n last created containers (includes all states)]:n:(1 5 10 25 50)" \
|
"($help -n --last)"{-n=,--last=}"[Show n last created containers (includes all states)]:n:(1 5 10 25 50)" \
|
||||||
"($help)--no-trunc[Do not truncate output]" \
|
"($help)--no-trunc[Do not truncate output]" \
|
||||||
|
@ -908,7 +908,7 @@ __docker_container_subcommand() {
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
"($help -a --all)"{-a,--all}"[Show all containers (default shows just running)]" \
|
"($help -a --all)"{-a,--all}"[Show all containers (default shows just running)]" \
|
||||||
"($help)--format=[Pretty-print images using a Go template]:template: " \
|
"($help)--format=[Format the output using the given Go template]:template: " \
|
||||||
"($help)--no-stream[Disable streaming stats and only pull the first result]" \
|
"($help)--no-stream[Disable streaming stats and only pull the first result]" \
|
||||||
"($help)--no-trunc[Do not truncate output]" \
|
"($help)--no-trunc[Do not truncate output]" \
|
||||||
"($help -)*:containers:__docker_complete_running_containers" && ret=0
|
"($help -)*:containers:__docker_complete_running_containers" && ret=0
|
||||||
|
@ -1061,7 +1061,7 @@ __docker_image_subcommand() {
|
||||||
"($help -a --all)"{-a,--all}"[Show all images]" \
|
"($help -a --all)"{-a,--all}"[Show all images]" \
|
||||||
"($help)--digests[Show digests]" \
|
"($help)--digests[Show digests]" \
|
||||||
"($help)*"{-f=,--filter=}"[Filter values]:filter:__docker_complete_images_filters" \
|
"($help)*"{-f=,--filter=}"[Filter values]:filter:__docker_complete_images_filters" \
|
||||||
"($help)--format=[Pretty-print images using a Go template]:template: " \
|
"($help)--format=[Format the output using the given Go template]:template: " \
|
||||||
"($help)--no-trunc[Do not truncate output]" \
|
"($help)--no-trunc[Do not truncate output]" \
|
||||||
"($help -q --quiet)"{-q,--quiet}"[Only show image IDs]" \
|
"($help -q --quiet)"{-q,--quiet}"[Only show image IDs]" \
|
||||||
"($help -): :__docker_complete_repositories" && ret=0
|
"($help -): :__docker_complete_repositories" && ret=0
|
||||||
|
@ -1293,7 +1293,7 @@ __docker_network_subcommand() {
|
||||||
$opts_help \
|
$opts_help \
|
||||||
"($help)--no-trunc[Do not truncate the output]" \
|
"($help)--no-trunc[Do not truncate the output]" \
|
||||||
"($help)*"{-f=,--filter=}"[Provide filter values]:filter:__docker_network_complete_ls_filters" \
|
"($help)*"{-f=,--filter=}"[Provide filter values]:filter:__docker_network_complete_ls_filters" \
|
||||||
"($help)--format=[Pretty-print networks using a Go template]:template: " \
|
"($help)--format=[Format the output using the given Go template]:template: " \
|
||||||
"($help -q --quiet)"{-q,--quiet}"[Only display network IDs]" && ret=0
|
"($help -q --quiet)"{-q,--quiet}"[Only display network IDs]" && ret=0
|
||||||
;;
|
;;
|
||||||
(prune)
|
(prune)
|
||||||
|
@ -2051,7 +2051,7 @@ __docker_service_subcommand() {
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
"($help)*"{-f=,--filter=}"[Filter output based on conditions provided]:filter:__docker_service_complete_ls_filters" \
|
"($help)*"{-f=,--filter=}"[Filter output based on conditions provided]:filter:__docker_service_complete_ls_filters" \
|
||||||
"($help)--format=[Pretty-print services using a Go template]:template: " \
|
"($help)--format=[Format the output using the given Go template]:template: " \
|
||||||
"($help -q --quiet)"{-q,--quiet}"[Only display IDs]" && ret=0
|
"($help -q --quiet)"{-q,--quiet}"[Only display IDs]" && ret=0
|
||||||
;;
|
;;
|
||||||
(rm|remove)
|
(rm|remove)
|
||||||
|
@ -2254,7 +2254,7 @@ __docker_stack_subcommand() {
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
"($help)*"{-f=,--filter=}"[Filter output based on conditions provided]:filter:__docker_stack_complete_services_filters" \
|
"($help)*"{-f=,--filter=}"[Filter output based on conditions provided]:filter:__docker_stack_complete_services_filters" \
|
||||||
"($help)--format=[Pretty-print services using a Go template]:template: " \
|
"($help)--format=[Format the output using the given Go template]:template: " \
|
||||||
"($help -q --quiet)"{-q,--quiet}"[Only display IDs]" \
|
"($help -q --quiet)"{-q,--quiet}"[Only display IDs]" \
|
||||||
"($help -):stack:__docker_complete_stacks" && ret=0
|
"($help -):stack:__docker_complete_stacks" && ret=0
|
||||||
;;
|
;;
|
||||||
|
@ -2521,7 +2521,7 @@ __docker_volume_subcommand() {
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
"($help)*"{-f=,--filter=}"[Provide filter values]:filter:__docker_volume_complete_ls_filters" \
|
"($help)*"{-f=,--filter=}"[Provide filter values]:filter:__docker_volume_complete_ls_filters" \
|
||||||
"($help)--format=[Pretty-print volumes using a Go template]:template: " \
|
"($help)--format=[Format the output using the given Go template]:template: " \
|
||||||
"($help -q --quiet)"{-q,--quiet}"[Only display volume names]" && ret=0
|
"($help -q --quiet)"{-q,--quiet}"[Only display volume names]" && ret=0
|
||||||
;;
|
;;
|
||||||
(prune)
|
(prune)
|
||||||
|
|
Loading…
Reference in New Issue