feat(cli): make remove command an alias for uninstall

This commit is contained in:
bergquist 2016-06-23 08:21:55 +02:00
parent 14169c5092
commit 2123fbdf9b

View File

@ -48,13 +48,10 @@ var pluginCommands = []cli.Command{
Usage: "list all installed plugins",
Action: runCommand(lsCommand),
}, {
Name: "uninstall",
Usage: "uninstall <plugin id>",
Action: runCommand(removeCommand),
}, {
Name: "remove",
Usage: "remove <plugin id>",
Action: runCommand(removeCommand),
Name: "uninstall",
Aliases: []string{"remove"},
Usage: "uninstall <plugin id>",
Action: runCommand(removeCommand),
},
}