mirror of https://github.com/docker/cli.git
Migrate exec command to cobra
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
parent
6f66e15f99
commit
b32ff5a1cd
|
@ -52,6 +52,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
|
||||||
container.NewCopyCommand(dockerCli),
|
container.NewCopyCommand(dockerCli),
|
||||||
container.NewCreateCommand(dockerCli),
|
container.NewCreateCommand(dockerCli),
|
||||||
container.NewDiffCommand(dockerCli),
|
container.NewDiffCommand(dockerCli),
|
||||||
|
container.NewExecCommand(dockerCli),
|
||||||
container.NewExportCommand(dockerCli),
|
container.NewExportCommand(dockerCli),
|
||||||
container.NewKillCommand(dockerCli),
|
container.NewKillCommand(dockerCli),
|
||||||
container.NewLogsCommand(dockerCli),
|
container.NewLogsCommand(dockerCli),
|
||||||
|
|
1
usage.go
1
usage.go
|
@ -8,7 +8,6 @@ type Command struct {
|
||||||
|
|
||||||
// DockerCommandUsage lists the top level docker commands and their short usage
|
// DockerCommandUsage lists the top level docker commands and their short usage
|
||||||
var DockerCommandUsage = []Command{
|
var DockerCommandUsage = []Command{
|
||||||
{"exec", "Run a command in a running container"},
|
|
||||||
{"inspect", "Return low-level information on a container, image or task"},
|
{"inspect", "Return low-level information on a container, image or task"},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue