Skip to content

Commit 39b6ba8

Browse files
authored
Merge pull request #2431 from masters-of-cats/plugins-list-subcommand
Introduce plugins/list subcommand
2 parents 4e64dcc + 3cf3881 commit 39b6ba8

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

cmd/ctr/commands/plugins/plugins.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ var Command = cli.Command{
3737
Name: "plugins",
3838
Aliases: []string{"plugin"},
3939
Usage: "provides information about containerd plugins",
40+
Subcommands: []cli.Command{
41+
listCommand,
42+
},
43+
}
44+
45+
var listCommand = cli.Command{
46+
Name: "list",
47+
Aliases: []string{"ls"},
48+
Usage: "lists containerd plugins",
4049
Flags: []cli.Flag{
4150
cli.BoolFlag{
4251
Name: "quiet,q",

0 commit comments

Comments
 (0)