clap_derive: Merge/inherit ValueEnum
(sharing enum variants in ValueEnum
)
#3911
Labels
A-derive
Area: #[derive]` macro API
C-enhancement
Category: Raise on the bar on expectations
S-waiting-on-design
Status: Waiting on user-facing design to be resolved before implementing
Please complete the following tasks
Clap Version
3.1.18
Describe your use case
I have multiple flags that use various
value_enum
. Thesevalue_enum
s share some of their variants.Describe the solution you'd like
Allow including one
value_enum
in the other. Like so:Alternatives, if applicable
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: