Migrate export command to cobra

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2016-06-05 16:42:19 +02:00
parent 8ad0a0ff95
commit 6ee903eea0
2 changed files with 1 additions and 1 deletions

View File

@ -34,6 +34,7 @@ func NewCobraAdaptor(clientFlags *cliflags.ClientFlags) CobraAdaptor {
rootCmd.SetOutput(stdout) rootCmd.SetOutput(stdout)
rootCmd.AddCommand( rootCmd.AddCommand(
container.NewCreateCommand(dockerCli), container.NewCreateCommand(dockerCli),
container.NewExportCommand(dockerCli),
container.NewRunCommand(dockerCli), container.NewRunCommand(dockerCli),
image.NewSearchCommand(dockerCli), image.NewSearchCommand(dockerCli),
volume.NewVolumeCommand(dockerCli), volume.NewVolumeCommand(dockerCli),

View File

@ -15,7 +15,6 @@ var DockerCommandUsage = []Command{
{"diff", "Inspect changes on a container's filesystem"}, {"diff", "Inspect changes on a container's 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"},
{"export", "Export a container's filesystem as a tar archive"},
{"history", "Show the history of an image"}, {"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"},