helm plugin subcommands aliases

Signed-off-by: Efrat19 <efrat890089@gmail.com>
pull/6588/head
Efrat19 5 years ago
parent 9de0bd6994
commit 58043d8657

@ -25,7 +25,8 @@ import (
func newPluginListCmd(out io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "list",
Use: "list",
Aliases: []string{"ls"},
Short: "list installed Helm plugins",
RunE: func(cmd *cobra.Command, args []string) error {
debug("pluginDirs: %s", settings.PluginsDirectory)

@ -35,6 +35,7 @@ func newPluginRemoveCmd(out io.Writer) *cobra.Command {
o := &pluginRemoveOptions{}
cmd := &cobra.Command{
Use: "remove <plugin>...",
Aliases: []string{"rm"},
Short: "remove one or more Helm plugins",
PreRunE: func(cmd *cobra.Command, args []string) error {
return o.complete(args)

Loading…
Cancel
Save