commandlineparser / commandlineparser/commandline
Mutually exclusive enum values
Open
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I have 2 options, both required; the first is of type EventType (enum with 3 values: dpo, plms, ts); the second is of type NoticeType (enum with 3 values: Performance, Current, Process).
How can I set the Parser so that when I select "dpo" then I can select any value of NoticeType, when I select "plms" then I can select only "Performance" and "Current", and when I select "ts" then I can only select "Process"?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.