(w io.Writer, includeDesc bool)
| 78 | } |
| 79 | |
| 80 | func (c *Command) genZshCompletion(w io.Writer, includeDesc bool) error { |
| 81 | buf := new(bytes.Buffer) |
| 82 | genZshComp(buf, c.Name(), includeDesc) |
| 83 | _, err := buf.WriteTo(w) |
| 84 | return err |
| 85 | } |
| 86 | |
| 87 | func genZshComp(buf io.StringWriter, name string, includeDesc bool) { |
| 88 | compCmd := ShellCompRequestCmd |
no test coverage detected