Skip to content

Add bash completion for service create|update --network-(add|rm)#257

Merged
thaJeztah merged 1 commit into
docker:masterfrom
albers:completion-service--network-add
Jun 30, 2017
Merged

Add bash completion for service create|update --network-(add|rm)#257
thaJeztah merged 1 commit into
docker:masterfrom
albers:completion-service--network-add

Conversation

@albers
Copy link
Copy Markdown
Collaborator

@albers albers commented Jun 27, 2017

This adds bash completion for moby/moby#32062.
Ping @sdurrheimer for zsh completion

Note: In the completion for docker service update --network-rm, it would be nice to only complete networks that are actually connected to the service. Sadly, at this point of typing, the service is not known yet - it's the last argument. So I have to complete all networks here.

Signed-off-by: Harald Albers <github@albersweb.de>
@codecov-io
Copy link
Copy Markdown

codecov-io commented Jun 27, 2017

Codecov Report

Merging #257 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #257   +/-   ##
=======================================
  Coverage   46.85%   46.85%           
=======================================
  Files         172      172           
  Lines       11692    11692           
=======================================
  Hits         5478     5478           
  Misses       5902     5902           
  Partials      312      312

Copy link
Copy Markdown
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 🐮

@thaJeztah thaJeztah added this to the 17.06.1 milestone Jun 30, 2017
Copy link
Copy Markdown
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

@thaJeztah thaJeztah merged commit 321c692 into docker:master Jun 30, 2017
@albers albers deleted the completion-service--network-add branch June 30, 2017 08:29
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