commandline icon indicating copy to clipboard operation
commandline copied to clipboard

Mutually exclusive enum values

Open johnbocchi opened this issue 2 years ago • 1 comments

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"?

johnbocchi avatar Oct 16 '23 10:10 johnbocchi

This sounds like you might have to enforce this with actual program code; I haven't used the parameter set stuff, but I'm not sure it's flexible enough to do what you want.

SJFriedl avatar Oct 17 '23 15:10 SJFriedl