Skip to content
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

Add bash completion for docker trust commands #609

Merged
merged 2 commits into from
Oct 31, 2017

Conversation

albers
Copy link
Collaborator

@albers albers commented Oct 7, 2017

This adds bash completion for #472.

This should go into 17.10.0 because the feature is present in that release.

albers added 2 commits October 7, 2017 13:29
Removes a copy & paste leftover.

Signed-off-by: Harald Albers <[email protected]>
@thaJeztah
Copy link
Member

IIRC, we marked these commands "experimental" (which is a bit tricky, because it's a client-side only feature, so we don't currently hide them).

I don't see a real harm in including them in the completion scripts (as 17.10 is an edge release, so no long-term consequences)

@riyazdf PTAL

@albers
Copy link
Collaborator Author

albers commented Oct 10, 2017

@thaJeztah The commands are only considered in bash completion if the CLI runs against an experimental server.

@riyazdf
Copy link

riyazdf commented Oct 10, 2017

awesome, thanks @albers! I am not familiar with how bash completion works so it'd be best if someone else can provide review/approval here.

@thaJeztah
Copy link
Member

ah, yes, I forgot for a minute we added the check for experimental here as well 👍

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐮

@vdemeester vdemeester merged commit d019734 into docker:master Oct 31, 2017
@albers albers deleted the completion-trust branch October 31, 2017 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants