-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Description
Description
In some scenarios, as our project's developer, we would like to keep our own error message style. Cobra does provide a nice interface for easy implementation of command/subcommand , but it lacks the flexibility to let ourselves decide our own log/error message. e.g. the error message forMarkFlagsMutuallyExclusive() is fixed.
I would like to help extend this feature if that's possible, maybe giving a message parameter in these functions and use make original cobra error message as default when nothing is provided will be good ?
I also found #1988 talking about similar things.
marckhouzam
Metadata
Metadata
Assignees
Labels
No labels