mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 08:12:08 +08:00
Added grafana-cli command. Added public documentation for specifying plugin version when installing. (#5665)
This commit is contained in:

committed by
Torkel Ödegaard

parent
e8e8463828
commit
39be7cf7d7
@ -27,12 +27,16 @@ func runCommand(command func(commandLine CommandLine) error) func(context *cli.C
|
||||
var pluginCommands = []cli.Command{
|
||||
{
|
||||
Name: "install",
|
||||
Usage: "install <plugin id>",
|
||||
Usage: "install <plugin id> <plugin version (optional)>",
|
||||
Action: runCommand(installCommand),
|
||||
}, {
|
||||
Name: "list-remote",
|
||||
Usage: "list remote available plugins",
|
||||
Action: runCommand(listremoteCommand),
|
||||
}, {
|
||||
Name: "list-versions",
|
||||
Usage: "list-versions <plugin id>",
|
||||
Action: runCommand(listversionsCommand),
|
||||
}, {
|
||||
Name: "update",
|
||||
Usage: "update <plugin id>",
|
||||
|
Reference in New Issue
Block a user