mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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:
parent
9d2d89ce6f
commit
b993609d5a
9 changed files with 242 additions and 35 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue