Update ctr containers and tasks command
This moves container and tasks commands under the containers and tasks top level commands. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -65,30 +65,21 @@ containerd CLI
|
||||
}
|
||||
app.Commands = append([]cli.Command{
|
||||
applyCommand,
|
||||
attachCommand,
|
||||
checkpointCommand,
|
||||
containersCommand,
|
||||
contentCommand,
|
||||
eventsCommand,
|
||||
execCommand,
|
||||
fetchCommand,
|
||||
fetchObjectCommand,
|
||||
imageCommand,
|
||||
infoCommand,
|
||||
killCommand,
|
||||
namespacesCommand,
|
||||
pauseCommand,
|
||||
pprofCommand,
|
||||
psCommand,
|
||||
pullCommand,
|
||||
pushCommand,
|
||||
pushObjectCommand,
|
||||
resumeCommand,
|
||||
rootfsCommand,
|
||||
runCommand,
|
||||
snapshotCommand,
|
||||
startCommand,
|
||||
taskListCommand,
|
||||
tasksCommand,
|
||||
versionCommand,
|
||||
}, extraCmds...)
|
||||
app.Before = func(context *cli.Context) error {
|
||||
@@ -102,14 +93,3 @@ containerd CLI
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
var containersCommand = cli.Command{
|
||||
Name: "containers",
|
||||
Usage: "manage containers (metadata)",
|
||||
Aliases: []string{"c"},
|
||||
Subcommands: []cli.Command{
|
||||
containersListCommand,
|
||||
containersDeleteCommand,
|
||||
containersSetLabelsCommand,
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user