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

Method GenZshCompletionFile

zsh_completions.go:25–27  ·  view source on GitHub ↗

GenZshCompletionFile generates zsh completion file including descriptions.

(filename string)

Source from the content-addressed store, hash-verified

23
24// GenZshCompletionFile generates zsh completion file including descriptions.
25func (c *Command) GenZshCompletionFile(filename string) error {
26 return c.genZshCompletionFile(filename, true)
27}
28
29// GenZshCompletion generates zsh completion file including descriptions
30// and writes it to the passed writer.

Callers

nothing calls this directly

Calls 1

genZshCompletionFileMethod · 0.95

Tested by

no test coverage detected