mirror of https://github.com/docker/cli.git
Merge pull request #23291 from yongtang/23211-spf13-cobra-history
Use spf13/cobra for docker history
This commit is contained in:
commit
f853d84ccb
|
@ -47,6 +47,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
|
||||||
container.NewTopCommand(dockerCli),
|
container.NewTopCommand(dockerCli),
|
||||||
container.NewUnpauseCommand(dockerCli),
|
container.NewUnpauseCommand(dockerCli),
|
||||||
container.NewWaitCommand(dockerCli),
|
container.NewWaitCommand(dockerCli),
|
||||||
|
image.NewHistoryCommand(dockerCli),
|
||||||
image.NewRemoveCommand(dockerCli),
|
image.NewRemoveCommand(dockerCli),
|
||||||
image.NewSearchCommand(dockerCli),
|
image.NewSearchCommand(dockerCli),
|
||||||
network.NewNetworkCommand(dockerCli),
|
network.NewNetworkCommand(dockerCli),
|
||||||
|
|
1
usage.go
1
usage.go
|
@ -13,7 +13,6 @@ var DockerCommandUsage = []Command{
|
||||||
{"cp", "Copy files/folders between a container and the local filesystem"},
|
{"cp", "Copy files/folders between a container and the local filesystem"},
|
||||||
{"events", "Get real time events from the server"},
|
{"events", "Get real time events from the server"},
|
||||||
{"exec", "Run a command in a running container"},
|
{"exec", "Run a command in a running container"},
|
||||||
{"history", "Show the history of an image"},
|
|
||||||
{"images", "List images"},
|
{"images", "List images"},
|
||||||
{"import", "Import the contents from a tarball to create a filesystem image"},
|
{"import", "Import the contents from a tarball to create a filesystem image"},
|
||||||
{"info", "Display system-wide information"},
|
{"info", "Display system-wide information"},
|
||||||
|
|
Loading…
Reference in New Issue