MCPcopy Index your code
hub / github.com/helm/helm / noMoreArgsCompFunc

Function noMoreArgsCompFunc

pkg/cmd/completion.go:214–216  ·  view source on GitHub ↗

noMoreArgsCompFunc deactivates file completion when doing argument shell completion. It also provides some ActiveHelp to indicate no more arguments are accepted.

(_ *cobra.Command, _ []string, _ string)

Source from the content-addressed store, hash-verified

212// noMoreArgsCompFunc deactivates file completion when doing argument shell completion.
213// It also provides some ActiveHelp to indicate no more arguments are accepted.
214func noMoreArgsCompFunc(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective) {
215 return noMoreArgsComp()
216}
217
218// noMoreArgsComp deactivates file completion when doing argument shell completion.
219// It also provides some ActiveHelp to indicate no more arguments are accepted.

Callers

nothing calls this directly

Calls 1

noMoreArgsCompFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…