mirror of https://github.com/docker/cli.git
Migrate info command to cobra
Signed-off-by: Tomasz Kopczynski <tomek@kopczynski.net.pl>
This commit is contained in:
parent
63bccf7f31
commit
91b49f8538
|
@ -84,6 +84,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
|
||||||
registry.NewLogoutCommand(dockerCli),
|
registry.NewLogoutCommand(dockerCli),
|
||||||
system.NewVersionCommand(dockerCli),
|
system.NewVersionCommand(dockerCli),
|
||||||
volume.NewVolumeCommand(dockerCli),
|
volume.NewVolumeCommand(dockerCli),
|
||||||
|
system.NewInfoCommand(dockerCli),
|
||||||
)
|
)
|
||||||
plugin.NewPluginCommand(rootCmd, dockerCli)
|
plugin.NewPluginCommand(rootCmd, dockerCli)
|
||||||
|
|
||||||
|
|
1
usage.go
1
usage.go
|
@ -9,7 +9,6 @@ type Command struct {
|
||||||
// DockerCommandUsage lists the top level docker commands and their short usage
|
// DockerCommandUsage lists the top level docker commands and their short usage
|
||||||
var DockerCommandUsage = []Command{
|
var DockerCommandUsage = []Command{
|
||||||
{"exec", "Run a command in a running container"},
|
{"exec", "Run a command in a running container"},
|
||||||
{"info", "Display system-wide information"},
|
|
||||||
{"inspect", "Return low-level information on a container, image or task"},
|
{"inspect", "Return low-level information on a container, image or task"},
|
||||||
{"update", "Update configuration of one or more containers"},
|
{"update", "Update configuration of one or more containers"},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue