Convert inspect to cobra.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2016-06-23 11:09:49 -04:00
parent b32ff5a1cd
commit 39c47a0e24
2 changed files with 2 additions and 3 deletions

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),

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)