ErrLookup › spf13/cobra
spf13/cobra
A Commander for modern Go CLI interactions · Go · 19 source files
Analyzed at adbc881390 on 2026-08-04. 17 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| unknown command %q for %q%s | validation | error | cli, args, subcommand, cobra, validation |
| unknown command %q for %q | validation | error | cli, args, cobra, validation |
| invalid argument %q for %q%s | validation | error | cli, args, validargs, cobra, validation |
| duplicate argument %q for %q | validation | error | cli, args, duplicate, cobra, validation |
| requires at least %d arg(s), only received %d | validation | error | cli, args, arity, cobra, validation |
| accepts at most %d arg(s), received %d | validation | error | cli, args, arity, cobra, validation |
| accepts %d arg(s), received %d | validation | error | cli, args, arity, cobra, validation |
| accepts between %d and %d arg(s), received %d | validation | error | cli, args, arity, range, cobra, validation |
| required flag(s) "%s" not set | validation | error | cli, flags, required, cobra, validation |
| RegisterFlagCompletionFunc: flag '%s' does not exist | validation | error | cli, completion, flags, cobra, initialization |
| RegisterFlagCompletionFunc: flag '%s' already registered | validation | error | cli, completion, flags, cobra, duplicate, initialization |
| unable to find a command for arguments: %v | validation | warning | cli, completion, subcommand, cobra |
| Error while parsing flags from args %v: %s | validation | warning | cli, completion, flags, pflag, cobra |
| invalid SOURCE_DATE_EPOCH: %v | validation | error | docs, man, env, reproducible-build, cobra |
| if any flags in the group [%v] are set they must all be set; | validation | error | cli, flags, flag-groups, required, cobra, validation |
| at least one of the flags in the group [%v] is required | validation | error | cli, flags, flag-groups, required, cobra, validation |
| if any flags in the group [%v] are set none of the others ca | validation | error | cli, flags, flag-groups, mutually-exclusive, cobra, validation |