Tyrrrz / CliFx

Class-first framework for building command-line interfaces
MIT License
1.5k stars 61 forks source link

Option validation attributes #1

Closed Tyrrrz closed 5 years ago

Tyrrrz commented 5 years ago

Introduce a set of attributes that dictate the range of valid values an option can take. Examples: StringLength, RegularExpression, Range.

Tyrrrz commented 5 years ago

Won't fix as it's annoying to do via attributes and is much better handled during command execution.