GenZshCompletion generates zsh completion file including descriptions and writes it to the passed writer.
(w io.Writer)
| 29 | // GenZshCompletion generates zsh completion file including descriptions |
| 30 | // and writes it to the passed writer. |
| 31 | func (c *Command) GenZshCompletion(w io.Writer) error { |
| 32 | return c.genZshCompletion(w, true) |
| 33 | } |
| 34 | |
| 35 | // GenZshCompletionFileNoDesc generates zsh completion file without descriptions. |
| 36 | func (c *Command) GenZshCompletionFileNoDesc(filename string) error { |