j-maly / CommandLineParser

Command line parser. Declarative arguments support. Rich set of argument types (switches, enums, files, etc...). Mutually exclusive arguments validations.
MIT License
137 stars 30 forks source link

Support for Folder Argument #60

Closed askids closed 6 years ago

askids commented 6 years ago

hi,

First of all, thanks for this excellent utility library. Similar to the FileArgumentAttribute, where the parser internally validates the existence of file, does this library have way to validate folder name given as argument. That would be a useful feature to have. I checked the examples. But did not find it. Hence asking here.

Thanks!

askids commented 6 years ago

Never mind. Looks like I did not look closely enough. Found the DirectoryArgument. Thanks again!