MCPcopy
hub / github.com/helm/helm / processParent

Function processParent

pkg/cmd/load_plugins.go:159–165  ·  view source on GitHub ↗
(cmd *cobra.Command, args []string)

Source from the content-addressed store, hash-verified

157}
158
159func processParent(cmd *cobra.Command, args []string) ([]string, error) {
160 k, u := manuallyProcessArgs(args)
161 if err := cmd.Parent().ParseFlags(k); err != nil {
162 return nil, err
163 }
164 return u, nil
165}
166
167// manuallyProcessArgs processes an arg array, removing special args.
168//

Callers 2

loadCLIPluginsFunction · 0.85
pluginDynamicCompFunction · 0.85

Calls 2

manuallyProcessArgsFunction · 0.85
ParentMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…