mirror of https://github.com/docker/cli.git
add docker cp completion for container ids
Signed-off-by: Jon Bramley <brammers@gmail.com>
This commit is contained in:
parent
ac365d7175
commit
459825f988
|
@ -171,9 +171,10 @@ complete -c docker -A -f -n '__fish_seen_subcommand_from commit' -a '(__fish_pri
|
||||||
|
|
||||||
# cp
|
# cp
|
||||||
complete -c docker -f -n '__fish_docker_no_subcommand' -a cp -d "Copy files/folders between a container and the local filesystem"
|
complete -c docker -f -n '__fish_docker_no_subcommand' -a cp -d "Copy files/folders between a container and the local filesystem"
|
||||||
complete -c docker -A -f -n '__fish_seen_subcommand_from cp' -s a -l archive -d 'Archive mode (copy all uid/gid information)'
|
complete -c docker -A -n '__fish_seen_subcommand_from cp' -s a -l archive -d 'Archive mode (copy all uid/gid information)'
|
||||||
complete -c docker -A -f -n '__fish_seen_subcommand_from cp' -s L -l follow-link -d 'Always follow symbol link in SRC_PATH'
|
complete -c docker -A -n '__fish_seen_subcommand_from cp' -s L -l follow-link -d 'Always follow symbol link in SRC_PATH'
|
||||||
complete -c docker -A -f -n '__fish_seen_subcommand_from cp' -l help -d 'Print usage'
|
complete -c docker -A -f -n '__fish_seen_subcommand_from cp' -l help -d 'Print usage'
|
||||||
|
complete -c docker -A -n '__fish_seen_subcommand_from cp' -a '(__fish_print_docker_containers running)' -d "Container"
|
||||||
|
|
||||||
# create
|
# create
|
||||||
complete -c docker -f -n '__fish_docker_no_subcommand' -a create -d 'Create a new container'
|
complete -c docker -f -n '__fish_docker_no_subcommand' -a create -d 'Create a new container'
|
||||||
|
|
Loading…
Reference in New Issue