Move canonical image and container commands into a command group
Hide some top level commands Add docker container and image inspect commands. Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
@ -32,8 +32,8 @@ func NewStackCommand(dockerCli *command.DockerCli) *cobra.Command {
|
||||
|
||||
// NewTopLevelDeployCommand returns a command for `docker deploy`
|
||||
func NewTopLevelDeployCommand(dockerCli *command.DockerCli) *cobra.Command {
|
||||
cmd := newDeployCommand(dockerCli)
|
||||
cmd := *newDeployCommand(dockerCli)
|
||||
// Remove the aliases at the top level
|
||||
cmd.Aliases = []string{}
|
||||
return cmd
|
||||
return &cmd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user