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

Method GenZshCompletionNoDesc

zsh_completions.go:42–44  ·  view source on GitHub ↗

GenZshCompletionNoDesc generates zsh completion file without descriptions and writes it to the passed writer.

(w io.Writer)

Source from the content-addressed store, hash-verified

40// GenZshCompletionNoDesc generates zsh completion file without descriptions
41// and writes it to the passed writer.
42func (c *Command) GenZshCompletionNoDesc(w io.Writer) error {
43 return c.genZshCompletion(w, false)
44}
45
46// MarkZshCompPositionalArgumentFile only worked for zsh and its behavior was
47// not consistent with Bash completion. It has therefore been disabled.

Callers 2

Calls 1

genZshCompletionMethod · 0.95

Tested by 1