MCPcopy
hub / github.com/helm/helm / complete

Method complete

pkg/cmd/plugin_update.go:55–61  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

53}
54
55func (o *pluginUpdateOptions) complete(args []string) error {
56 if len(args) == 0 {
57 return errors.New("please provide plugin name to update")
58 }
59 o.names = args
60 return nil
61}
62
63func (o *pluginUpdateOptions) run(out io.Writer) error {
64 slog.Debug("loading installed plugins", "path", settings.PluginsDirectory)

Callers 1

newPluginUpdateCmdFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected