From 2123fbdf9becd392397d246290415c78ff576e52 Mon Sep 17 00:00:00 2001 From: bergquist Date: Thu, 23 Jun 2016 08:21:55 +0200 Subject: [PATCH] feat(cli): make remove command an alias for uninstall --- pkg/cmd/grafana-cli/commands/commands.go | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkg/cmd/grafana-cli/commands/commands.go b/pkg/cmd/grafana-cli/commands/commands.go index 06e8dd16d21..3f8826ce8ba 100644 --- a/pkg/cmd/grafana-cli/commands/commands.go +++ b/pkg/cmd/grafana-cli/commands/commands.go @@ -48,13 +48,10 @@ var pluginCommands = []cli.Command{ Usage: "list all installed plugins", Action: runCommand(lsCommand), }, { - Name: "uninstall", - Usage: "uninstall ", - Action: runCommand(removeCommand), - }, { - Name: "remove", - Usage: "remove ", - Action: runCommand(removeCommand), + Name: "uninstall", + Aliases: []string{"remove"}, + Usage: "uninstall ", + Action: runCommand(removeCommand), }, }