GenPowerShellCompletion generates powershell completion file without descriptions and writes it to the passed writer.
(w io.Writer)
| 335 | // GenPowerShellCompletion generates powershell completion file without descriptions |
| 336 | // and writes it to the passed writer. |
| 337 | func (c *Command) GenPowerShellCompletion(w io.Writer) error { |
| 338 | return c.genPowerShellCompletion(w, false) |
| 339 | } |
| 340 | |
| 341 | // GenPowerShellCompletionFileWithDesc generates powershell completion file with descriptions. |
| 342 | func (c *Command) GenPowerShellCompletionFileWithDesc(filename string) error { |