There is no generic version of IsRequired #131
Labels
good first issue
This seems like a good issue if you're a new contributor.
help wanted
We would be willing to take a well-written PR to help fix this.
Milestone
The IsRequired has no generic version so it can not link with other validation.
For example:
var optionConfig = app.Option<string>( "-c|--config <FILE>", "The config path.", CommandOptionType.SingleValue) .Accepts(v => v.ExistingFile()) .IsRequired();
This will make the type of 'optionConfig' from CommandOption to CommandOption.
The text was updated successfully, but these errors were encountered: