Commit Graph

872 Commits

Author SHA1 Message Date
Kyle Spiers 202601b774 update docker Import subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
2018-05-05 01:22:45 -07:00
Kyle Spiers 82c5693cf9 update docker Images subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
2018-05-05 01:19:35 -07:00
Kyle Spiers ba4e802b4f update docker History subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
2018-05-05 01:17:44 -07:00
Kyle Spiers fb16dc68be update docker Export subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
2018-05-05 01:07:32 -07:00
Kyle Spiers 3eb6b2c9c0 update docker Exec subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
2018-05-03 12:48:25 -07:00
Kyle Spiers 21477d9576 update docker Events subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
2018-05-03 12:42:41 -07:00
Kyle Spiers b491ad1589 update docker Create subcommand fish completions
Signed-off-by: Kyle Spiers <kyle@spiers.me>
2018-04-20 12:09:44 -07:00
Kyle Spiers 49d8604875 update docker Cp subcommand fish completions
Signed-off-by: Kyle Spiers <kyle@spiers.me>
2018-04-20 11:58:05 -07:00
Kyle Spiers 67a80e3c89 update docker Commit subcommand fish completions
Signed-off-by: Kyle Spiers <kyle@spiers.me>
2018-04-20 11:57:33 -07:00
Kyle Spiers 44168f52b3 update docker Build subcommand fish completions
Signed-off-by: Kyle Spiers <kyle@spiers.me>
2018-04-20 11:56:09 -07:00
Kyle Spiers ee5aad8646 update docker Attach subcommand fish completions
Signed-off-by: Kyle Spiers <kyle@spiers.me>
2018-04-20 11:48:57 -07:00
Kyle Spiers 4439f6446e add fish completions for docker trust subcommand
Signed-off-by: Kyle Spiers <kyle@spiers.me>
2018-04-03 18:04:04 -07:00
Sebastiaan van Stijn 2a6808db87
Bash: update trust completions
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>
2018-03-14 01:21:33 +01:00
Trapier Marshall fb80101ca7 Add swarm types to bash completion event type filter
Signed-off-by: Trapier Marshall <trapier.marshall@docker.com>
2018-02-19 13:46:23 -05:00
Sebastiaan van Stijn c6a7046674
Merge pull request #372 from jphuynh/completion-zsh-event-filter
Update event filter zsh completion with `disable`, `enable`, `install…
2018-02-16 10:16:40 +01:00
Vincent Demeester 26a2a45967
Merge pull request #682 from albers/completion-service-options
Fix and simplify bash completion for service env, mounts and labels
2018-02-01 14:02:51 -08:00
Sebastiaan van Stijn 4586609f71
Merge pull request #717 from albers/completion-images-2
Improve and fix bash completion for images
2018-01-27 17:48:49 -08:00
muicoder e2f73bb4b7
Fix bash completion for "docker swarm"
Signed-off-by: muicoder <muicoder@gmail.com>
2018-01-01 12:58:16 +08:00
Daniel Nephin 718a245b6e
Merge pull request #713 from albers/completion-512
Fix #512 Bash autocompletion works incorrect with inspect
2017-12-15 16:33:41 -05:00
Harald Albers f2b42bb6a8 Simplify bash completion for service options
Previously, the completions for `--xxx` and the corresponding
`-xxx-add` and `-xxx-rm` options were defined in separate blocks.
This caused a lot of duplicated code.

This PR removes duplication for xxx=config|group|host|placement-pref|secret.

Now the blocks for `create` and `update` only contain completions for
options that either only exist for the particular command or are specific
to it (completions for `--env-rm` and `--env|env-add` differ).

Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-15 13:49:42 +01:00
Harald Albers d149c93c0c Fix bash completion for service env, mounts and labels
`service create` and `service update` both used to have `--env`, `--label`
and `--mount` options.
These options now are only valid for `service create`.
`service update` got corresponding `--xxx-add|rm` options instead.

Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-15 13:49:42 +01:00
Sebastiaan van Stijn 8684b99923
Merge pull request #749 from albers/completion--generic-resource
Add support for generic resources to bash completion
2017-12-15 01:08:42 -08:00
Harald Albers 8ec80eec67 Add support for generic resources to bash completion
Adds bash completion for
- `service create --generic-resource`
- `service update --generic-resource-(add|rm)`
- `dockerd --node-generic-resource`

Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-15 08:56:14 +01:00
ktrysmt db05d8ad79 Fixed #750
Signed-off-by: Kotaro Yoshimatsu <kotaro.yoshimatsu@gmail.com>
2017-12-13 17:45:14 +09:00
Sebastiaan van Stijn a119e39f0c
Update docs and completion-scripts for deprecated features
- the `--disable-legacy-registry` daemon flag was removed
- duplicate keys with conflicting values for engine labels
  now produce an error instead of a warning.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-12-12 17:09:38 -08:00
Sebastiaan van Stijn 8053cf67e0
Merge pull request #726 from albers/completion-log-opt-line-only
Add bash completion for `--log-opt line-only`
2017-12-06 16:04:26 -08:00
Sebastiaan van Stijn 143f9f0336
Merge pull request #730 from BretFisher/729-fix-zsh-node-and-stack-names
Fixing zsh column finding in nodes and stacks.
2017-12-06 16:03:20 -08:00
Sebastiaan van Stijn 86653f4d57
Merge pull request #732 from ndeloof/8917
closes #8917 introduce `—workdir` option for docker exec
2017-12-06 10:51:33 -08:00
Nicolas De Loof da6b8cb5de
Because the option takes an argument, a special treatment is required in the preceding case
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2017-12-06 17:24:01 +01:00
Nicolas De Loof 591a1273fd
introduce `—workdir` option for docker exec
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2017-12-06 17:24:01 +01:00
Sebastiaan van Stijn ea854237aa
Merge pull request #724 from dungeonmaster18/723-auto-complete-command
Added auto complete command for fluentd-sub-second-precision.
2017-12-05 10:29:39 -08:00
Bret Fisher 8b6d6fa974 Fixing zsh column finding in nodes and stacks.
Signed-off-by: Bret Fisher <bret@bretfisher.com>
2017-12-05 01:03:25 -05:00
Sebastiaan van Stijn 83cdc0f1bd
Merge pull request #704 from albers/completion--platform
Add bash completion for `--platform`
2017-12-04 13:19:37 -08:00
Harald Albers 0798d71f38 Add bash completion for `--log-opt line-only`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-04 10:05:37 +01:00
Harald Albers 53376b60c6 Minor bash completion improvements/fixes
Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-04 09:33:14 +01:00
Harald Albers 5ee3b9b461 Improve bash completion for images
Signed-off-by: Harald Albers <github@albersweb.de>
2017-12-04 09:33:14 +01:00
dungeonmaster18 d5271568a2
Added auto complete command for fluentd-sub-second-precision
Signed-off-by: dungeonmaster18 <umesh4257@gmail.com>
2017-12-01 18:39:41 +05:30
Harald Albers a2d0b6e122 Fix #512 Bash autocompletion works incorrect with inspect
Signed-off-by: Harald Albers <github@albersweb.de>
2017-11-30 17:28:33 +01:00
Vincent Demeester b45a49c83f
Merge pull request #702 from albers/completion-log--until
Add bash completion for `logs --until`
2017-11-30 09:40:08 +01:00
Harald Albers 15f78417b9 Add bash completion for `--platform`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-11-30 09:29:15 +01:00
Sebastiaan van Stijn 4f009541cb
Merge pull request #677 from albers/completion-log-opts
Add new log driver options to bash completion
2017-11-29 10:01:19 -08:00
Tõnis Tiigi c428561b63
Merge pull request #678 from albers/completion-build--stream
Add bash completion for experimental `build --stream`
2017-11-29 10:00:23 -08:00
Harald Albers 667dead8b7 Add bash completion for `logs --until`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-11-17 18:45:05 +01:00
Harald Albers c29459c284 Add bash completion for `trust sign --local`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-11-17 18:30:38 +01:00
Simon Ferquel 47cf2ea683 Add isolation mode on service update/create and compose files
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2017-11-17 15:31:13 +01:00
Harald Albers c852393bff Add bash completion for experimental `build --stream`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-11-08 14:32:14 +01:00
Harald Albers 1390ae6022 Add `--log-opt awslogs-credentials-endpoint` to bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
2017-11-08 14:07:05 +01:00
Harald Albers c231c381fe Add support for GELF tcp connections to bash completion
Signed-off-by: Harald Albers <github@albersweb.de>
2017-11-08 13:54:51 +01:00
Vincent Demeester d0197347ea
Merge pull request #609 from albers/completion-trust
Add bash completion for `docker trust` commands
2017-10-31 11:24:35 +01:00
Sebastiaan van Stijn 6ef0ea82ea Merge pull request #611 from albers/completion-stack-deploy--resolve-image
Add bash completion for `stack deploy --resolve-image`
2017-10-11 22:28:51 +02:00