Expose #[derive(Args)]
as an ArgGroup
#4210
Labels
A-derive
Area: #[derive]` macro API
C-enhancement
Category: Raise on the bar on expectations
E-medium
Call for participation: Experience needed to fix: Medium / intermediate
💸 $20
Please complete the following tasks
Clap Version
4.0.0
Describe your use case
When I flatten an struct, I'd like to be able to refer to all members of that struct for relations between arguments
Describe the solution you'd like
Implicitly create an
ArgGroup
with the type's name that contains all of the struct members, including the group from a flattened fieldAlternatives, if applicable
No response
Additional Context
This lays the ground work for #2621
The text was updated successfully, but these errors were encountered: