mirror of https://github.com/docker/cli.git
Migrate ps command to cobra
Signed-off-by: Tianyi Wang <capkurmagati@gmail.com>
This commit is contained in:
parent
f09c355dc2
commit
92e6b85fa0
|
@ -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),
|
||||||
|
|
1
usage.go
1
usage.go
|
@ -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"},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue