|
|
@ -35,9 +35,9 @@ type pluginUpdateOptions struct {
|
|
|
|
func newPluginUpdateCmd(out io.Writer) *cobra.Command {
|
|
|
|
func newPluginUpdateCmd(out io.Writer) *cobra.Command {
|
|
|
|
o := &pluginUpdateOptions{}
|
|
|
|
o := &pluginUpdateOptions{}
|
|
|
|
cmd := &cobra.Command{
|
|
|
|
cmd := &cobra.Command{
|
|
|
|
Use: "update <plugin>...",
|
|
|
|
Use: "update <plugin>...",
|
|
|
|
Aliases: []string{"up"},
|
|
|
|
Aliases: []string{"up"},
|
|
|
|
Short: "update one or more Helm plugins",
|
|
|
|
Short: "update one or more Helm plugins",
|
|
|
|
PreRunE: func(cmd *cobra.Command, args []string) error {
|
|
|
|
PreRunE: func(cmd *cobra.Command, args []string) error {
|
|
|
|
return o.complete(args)
|
|
|
|
return o.complete(args)
|
|
|
|
},
|
|
|
|
},
|
|
|
|