Is a required ArgGroup only for the current SubCommand, or global? #439
Labels
A-docs
Area: documentation, including docs.rs, readme, examples, etc...
C-enhancement
Category: Raise on the bar on expectations
This is a bit unclear in the documentation (at least for me):
If I have an
ArgGroup
which is::required(true)
- does this mean this ArgGroup is required globally and a user must always provide these arguments? Or does it only apply to theSubCommand
instance level above theArgGroup
instance?E.G.:
Is "foo" or "bar" now enforced for
app <flags>
, or only forapp subcmd <flags>
?If it is enforced globally: Feature request: flag for forcing
ArgGroup
s only for the enclosingSubCommand
.The text was updated successfully, but these errors were encountered: