(out io.Writer, cmd *cobra.Command)
| 203 | } |
| 204 | |
| 205 | func runCompletionPowershell(out io.Writer, cmd *cobra.Command) error { |
| 206 | if disableCompDescriptions { |
| 207 | return cmd.Root().GenPowerShellCompletion(out) |
| 208 | } |
| 209 | return cmd.Root().GenPowerShellCompletionWithDesc(out) |
| 210 | } |
| 211 | |
| 212 | // noMoreArgsCompFunc deactivates file completion when doing argument shell completion. |
| 213 | // It also provides some ActiveHelp to indicate no more arguments are accepted. |
no test coverage detected
searching dependent graphs…