|
|
@@ -22,7 +22,7 @@ func runCommand(command func(commandLine CommandLine) error) func(context *cli.C
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-var Commands = []cli.Command{
|
|
|
+var pluginCommands = []cli.Command{
|
|
|
{
|
|
|
Name: "install",
|
|
|
Usage: "install <plugin name>",
|
|
|
@@ -49,3 +49,11 @@ var Commands = []cli.Command{
|
|
|
Action: runCommand(removeCommand),
|
|
|
},
|
|
|
}
|
|
|
+
|
|
|
+var Commands = []cli.Command{
|
|
|
+ {
|
|
|
+ Name: "plugins",
|
|
|
+ Usage: "Manage plugins for grafana",
|
|
|
+ Subcommands: pluginCommands,
|
|
|
+ },
|
|
|
+}
|