MCPcopy
hub / github.com/spf13/cobra / SetDefaultShellCompDirective

Method SetDefaultShellCompDirective

completions.go:123–125  ·  view source on GitHub ↗
(directive ShellCompDirective)

Source from the content-addressed store, hash-verified

121}
122
123func (receiver *CompletionOptions) SetDefaultShellCompDirective(directive ShellCompDirective) {
124 receiver.DefaultShellCompDirective = &directive
125}
126
127// Completion is a string that can be used for completions
128//

Callers 1

Calls

no outgoing calls

Tested by 1