moby/cli/command/plugin
Yong Tang 1c0d37fa7f Add --format flag for docker plugin ls
This fix tries to address the enhancement discussed in 28735 to add
`--format` for the output of `docker plugin ls`.

This fix
1. Add `--format` and `--quiet` flags to `docker plugin ls`
2. Convert the current implementation to use `formatter`, consistent with
   other docker list commands.
3. Add `pluginsFormat` for config.json.

Related docs has been updated.

Several unit tests have been added to cover the changes.

This fix is related to 28708 and 28735.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-01-20 15:59:44 -08:00
..
cmd.go refactor help func in CLI 2016-11-17 10:54:10 -08:00
create.go Refactoring ineffectual assignments 2017-01-13 00:27:01 -07:00
disable.go Implement content addressability for plugins 2016-12-23 13:29:58 -08:00
enable.go Implement content addressability for plugins 2016-12-23 13:29:58 -08:00
inspect.go Fix usage message of plugin inspect 2016-12-31 09:55:04 -08:00
install.go Support for docker content trust for plugins 2016-12-27 12:51:00 -08:00
list.go Add --format flag for docker plugin ls 2017-01-20 15:59:44 -08:00
push.go Support for docker content trust for plugins 2016-12-27 12:51:00 -08:00
remove.go Implement content addressability for plugins 2016-12-23 13:29:58 -08:00
set.go Implement content addressability for plugins 2016-12-23 13:29:58 -08:00