()
| 23 | } |
| 24 | |
| 25 | func (e *UsageError) Command() *cobra.Command { |
| 26 | return e.cmd |
| 27 | } |
| 28 | |
| 29 | // Argument validation helper which emits a UsageError rather than a plain string error |
| 30 | func ExactArgs(n int) cobra.PositionalArgs { |
no outgoing calls
no test coverage detected