Currently there are two ways of saying that given Option is required:
- by setting
option.IsRequired to true
- by setting
option.Arity to an arity with MinimumNumberOfValues >= 1.
We also have two different errors for both cases: OptionRequiredArgumentMissing and RequiredOptionWasNotProvided.
I need to understand it better to provide good implementation for #2052
Currently there are two ways of saying that given
Optionis required:option.IsRequiredto trueoption.Arityto an arity withMinimumNumberOfValues>= 1.We also have two different errors for both cases:
OptionRequiredArgumentMissingandRequiredOptionWasNotProvided.I need to understand it better to provide good implementation for #2052