Explorar o código

feat(cli): add uninstall alias for remove

bergquist %!s(int64=9) %!d(string=hai) anos
pai
achega
2fd25f0093
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      pkg/cmd/grafana-cli/commands/commands.go

+ 4 - 0
pkg/cmd/grafana-cli/commands/commands.go

@@ -43,6 +43,10 @@ var pluginCommands = []cli.Command{
 		Name:   "ls",
 		Usage:  "list all installed plugins",
 		Action: runCommand(lsCommand),
+	}, {
+		Name:   "uninstall",
+		Usage:  "uninstall <plugin name>",
+		Action: runCommand(removeCommand),
 	}, {
 		Name:   "remove",
 		Usage:  "remove <plugin name>",