Move plugins command

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-10-25 11:16:34 -04:00
parent 2dac1b6963
commit ae995bc7b3
3 changed files with 12 additions and 13 deletions

View File

@@ -6,6 +6,7 @@ import (
"log"
"os"
"github.com/containerd/containerd/cmd/ctr/commands/plugins"
versionCmd "github.com/containerd/containerd/cmd/ctr/commands/version"
"github.com/containerd/containerd/namespaces"
"github.com/containerd/containerd/server"
@@ -65,6 +66,8 @@ containerd CLI
},
}
app.Commands = append([]cli.Command{
plugins.Command,
versionCmd.Command,
applyCommand,
containersCommand,
contentCommand,
@@ -81,8 +84,6 @@ containerd CLI
runCommand,
snapshotCommand,
tasksCommand,
pluginsCommand,
versionCmd.Command,
}, extraCmds...)
app.Before = func(context *cli.Context) error {
if context.GlobalBool("debug") {