2

I am using the excellent ManyConsole extension to the great Mono.Options

I was wondering whether it supports mutually exclusive required options. I think that Mono.Options does not support them and hence ManyConsole probably does not either.

But I may be wrong.

mark
  • 59,016
  • 79
  • 296
  • 580

1 Answers1

1

You can override OverrideAfterHandlingArgumentsBeforeRun with custom validation and throw a ConsoleAsHelpException if it fails. Thanks for the positive feedback on the library though I am falling behind on handling PRs.

Frank Schwieterman
  • 24,142
  • 15
  • 92
  • 130