From 781c97b9e7a292eebde815dea82fd87e385b7dfb Mon Sep 17 00:00:00 2001 From: Efrat19 Date: Mon, 7 Oct 2019 10:38:45 +0300 Subject: [PATCH] helm repo subcommands aliases Signed-off-by: Efrat19 --- cmd/helm/plugin_update.go | 1 + cmd/helm/repo_list.go | 1 + 2 files changed, 2 insertions(+) diff --git a/cmd/helm/plugin_update.go b/cmd/helm/plugin_update.go index e2f6ad460..8040789db 100644 --- a/cmd/helm/plugin_update.go +++ b/cmd/helm/plugin_update.go @@ -36,6 +36,7 @@ func newPluginUpdateCmd(out io.Writer) *cobra.Command { o := &pluginUpdateOptions{} cmd := &cobra.Command{ Use: "update ...", + Aliases: []string{"up"}, Short: "update one or more Helm plugins", PreRunE: func(cmd *cobra.Command, args []string) error { return o.complete(args) diff --git a/cmd/helm/repo_list.go b/cmd/helm/repo_list.go index 5abc73c09..99452ec2d 100644 --- a/cmd/helm/repo_list.go +++ b/cmd/helm/repo_list.go @@ -32,6 +32,7 @@ func newRepoListCmd(out io.Writer) *cobra.Command { var output string cmd := &cobra.Command{ Use: "list", + Aliases: []string{"ls"}, Short: "list chart repositories", Args: require.NoArgs, RunE: func(cmd *cobra.Command, args []string) error {