Improve shell completion for docker secret and docker config subcommands by thaJeztah · Pull Request #6446 · docker/cli (original) (raw)
added 4 commits
These were remnants from some earlier implementation.
Signed-off-by: Sebastiaan van Stijn github@gone.nl
This command takes no arguments, so should not provide completion.
Signed-off-by: Sebastiaan van Stijn github@gone.nl
Signed-off-by: Sebastiaan van Stijn github@gone.nl
These commands accept two arguments; the first is a custom name, the second is either a filename or "-" to create from STDIN.
With this patch:
# does not provide completion
docker secret create <tab>
# starts providing completion once a non-empty name is provided
docker secret create somename<tab>
file.txt other-file.txtSigned-off-by: Sebastiaan van Stijn github@gone.nl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})