noMoreArgsCompFunc deactivates file completion when doing argument shell completion. It also provides some ActiveHelp to indicate no more arguments are accepted.
(_ *cobra.Command, _ []string, _ string)
| 212 | // noMoreArgsCompFunc deactivates file completion when doing argument shell completion. |
| 213 | // It also provides some ActiveHelp to indicate no more arguments are accepted. |
| 214 | func noMoreArgsCompFunc(_ *cobra.Command, _ []string, _ string) ([]string, cobra.ShellCompDirective) { |
| 215 | return noMoreArgsComp() |
| 216 | } |
| 217 | |
| 218 | // noMoreArgsComp deactivates file completion when doing argument shell completion. |
| 219 | // It also provides some ActiveHelp to indicate no more arguments are accepted. |
nothing calls this directly
no test coverage detected
searching dependent graphs…