CliValidationExtensions.AddGroupValidator Method
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Adds a validator to command that enforces mutual-exclusion for the provided options.
If required is true, at least one option must be specified.
public static void AddGroupValidator(this Command command, string group, bool required, params Option[] options)