Migrate ps command to cobra

Signed-off-by: Tianyi Wang <capkurmagati@gmail.com>
This commit is contained in:
Tianyi Wang 2016-06-08 21:56:44 +09:00
parent f09c355dc2
commit 92e6b85fa0
2 changed files with 1 additions and 1 deletions

View File

@ -45,6 +45,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
container.NewLogsCommand(dockerCli), container.NewLogsCommand(dockerCli),
container.NewPauseCommand(dockerCli), container.NewPauseCommand(dockerCli),
container.NewPortCommand(dockerCli), container.NewPortCommand(dockerCli),
container.NewPsCommand(dockerCli),
container.NewRenameCommand(dockerCli), container.NewRenameCommand(dockerCli),
container.NewRestartCommand(dockerCli), container.NewRestartCommand(dockerCli),
container.NewRmCommand(dockerCli), container.NewRmCommand(dockerCli),

View File

@ -12,7 +12,6 @@ var DockerCommandUsage = []Command{
{"exec", "Run a command in a running container"}, {"exec", "Run a command in a running container"},
{"info", "Display system-wide information"}, {"info", "Display system-wide information"},
{"inspect", "Return low-level information on a container or image"}, {"inspect", "Return low-level information on a container or image"},
{"ps", "List containers"},
{"update", "Update configuration of one or more containers"}, {"update", "Update configuration of one or more containers"},
} }