-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bash: update trust completions #944
Conversation
ping @vieux @andrewhsu |
contrib/completion/bash/docker
Outdated
@@ -4711,11 +4711,25 @@ _docker_tag() { | |||
} | |||
|
|||
|
|||
_docker_trust_inspect() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, hold on, this one needs to be moved a couple of lines down
517f935
to
5180994
Compare
The `docker trust` commands were moved out of experimental, and the `docker trust view` command was changed to `docker trust inspect --pretty`. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
5180994
to
2a6808d
Compare
case "$cur" in | ||
-*) | ||
COMPREPLY=( $( compgen -W "--help --yes -y" -- "$cur" ) ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diff view on github looks a bit odd here, because the order of commands was changed (they're alphabetical, so order changed due to view
-> inspect
)
Codecov Report
@@ Coverage Diff @@
## master #944 +/- ##
==========================================
- Coverage 53.92% 53.92% -0.01%
==========================================
Files 262 262
Lines 16604 16604
==========================================
- Hits 8954 8953 -1
- Misses 7049 7050 +1
Partials 601 601 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ping @albers PTAL 🤗 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🐸
Sorry for not waiting for you @albers - this had to go into the 18.03 release; let me know if there's things to address in this change |
I'm currently at a conference, will review when I'm back.
|
Thanks! You’re the best |
LGTM |
Thanks for reviewing 🤗 |
(relates to #934 and #935)
The
docker trust
commands were moved out of experimental, and thedocker trust view
command was changed todocker trust inspect --pretty
.- How to verify it
Build, and start a dev-container
Start bash, install bash-completion, and load the completion script:
Then try completions;
which should complete to
docker trust inspect --pretty
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)