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

Method GenPowerShellCompletionWithDesc

powershell_completions.go:348–350  ·  view source on GitHub ↗

GenPowerShellCompletionWithDesc generates powershell completion file with descriptions and writes it to the passed writer.

(w io.Writer)

Source from the content-addressed store, hash-verified

346// GenPowerShellCompletionWithDesc generates powershell completion file with descriptions
347// and writes it to the passed writer.
348func (c *Command) GenPowerShellCompletionWithDesc(w io.Writer) error {
349 return c.genPowerShellCompletion(w, true)
350}

Callers 1

Calls 1

Tested by

no test coverage detected