Closed
Description
I'm a little confused why ValidateRequiredFlags()
and ValidateFlagGroups()
are executed after PersistentRunE()
and PreRunE()
in the current implementation. IMO, PersistentRunE()
and PreRunE()
can be set and controlled by developers, and all pre-check provided by cobra
framework should throw error as soon as possible.
Lines 913 to 937 in fd865a4
Metadata
Metadata
Assignees
Labels
No labels