Przeglądaj źródła

feat(cli): add uninstall alias for remove

bergquist 9 lat temu
rodzic
commit
2fd25f0093
1 zmienionych plików z 4 dodań i 0 usunięć
  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>",