DockerCLI/command
Yong Tang 4fc1d6782c Add `--format` for `docker node ls`
This fix tries to address the comment https://github.com/docker/docker/pull/30376#discussion_r97465334
where it was not possible to specify `--format` for `docker node ls`. The `--format` flag
is a quite useful flag that could be used in many places such as completion.

This fix implements `--format` for `docker node ls` and add `nodesFormat` in config.json
so that it is possible to specify the output when `docker node ls` is invoked.

Related documentations have been updated.

A set of unit tests have been added.

This fix is related to #30376.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-04-04 11:26:35 -07:00
..
bundlefile Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
checkpoint Use formatter in docker checkpoint ls 2017-03-19 09:24:15 +02:00
commands Give a order to AddCommands, for easy read and maintenance. 2016-12-08 16:43:14 +08:00
container Clarify meaning of docker attach 2017-03-31 13:22:21 -07:00
formatter Add `--format` for `docker node ls` 2017-04-04 11:26:35 -07:00
idresolver Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
image Manually reorganize import paths to segregate stdlib and 3rd-party packages 2017-03-27 18:21:59 -07:00
inspect Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
network Merge pull request #31709 from dnephin/better-errors 2017-03-28 10:17:46 +02:00
node Add `--format` for `docker node ls` 2017-04-04 11:26:35 -07:00
plugin Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
prune Add `--filter until=<timestamp>` for `docker container/image prune` 2017-01-04 14:16:42 -08:00
registry Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
secret Merge pull request #30810 from allencloud/make-secret-ls-support-filter 2017-03-28 13:43:19 +02:00
service Merge pull request #32015 from dperny/service-logs-support-task-logs 2017-04-04 00:15:13 -07:00
stack Merge pull request #31709 from dnephin/better-errors 2017-03-28 10:17:46 +02:00
swarm Manually reorganize import paths to segregate stdlib and 3rd-party packages 2017-03-27 18:21:59 -07:00
system Merge pull request #31022 from jmzwcn/issue30994 2017-03-31 15:55:03 -07:00
task Add `--format` to `docker service ps` 2017-02-10 16:53:04 -08:00
volume Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
cli.go Merge pull request #31830 from dnephin/refactor-cli-state 2017-03-29 13:36:32 +02:00
events_utils.go Add subcommand prune to the container, volume, image and system commands 2016-09-29 07:42:53 -07:00
in.go Manually reorganize import paths to segregate stdlib and 3rd-party packages 2017-03-27 18:21:59 -07:00
out.go Windows: OCI process struct convergence 2016-09-19 10:34:31 -07:00
registry.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
trust.go fix flag descriptions for content-trust 2017-01-23 14:52:36 +01:00
utils.go Fix "command.PromptForConfirmation" to accept "enter" for the "N" default 2017-02-06 09:13:07 -08:00