Convert inspect to cobra.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 39c47a0e24
Component: cli
This commit is contained in:
Daniel Nephin
2016-08-03 10:36:47 -04:00
parent b878e00458
commit 91dde0851f
2 changed files with 2 additions and 3 deletions
+1
View File
@@ -83,6 +83,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
image.NewTagCommand(dockerCli),
network.NewNetworkCommand(dockerCli),
system.NewEventsCommand(dockerCli),
system.NewInspectCommand(dockerCli),
registry.NewLoginCommand(dockerCli),
registry.NewLogoutCommand(dockerCli),
system.NewVersionCommand(dockerCli),
+1 -3
View File
@@ -7,9 +7,7 @@ type Command struct {
}
// DockerCommandUsage lists the top level docker commands and their short usage
var DockerCommandUsage = []Command{
{"inspect", "Return low-level information on a container, image or task"},
}
var DockerCommandUsage = []Command{}
// DockerCommands stores all the docker command
var DockerCommands = make(map[string]Command)