1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

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-06-23 11:09:49 -04:00
parent b878e00458
commit 91dde0851f
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)