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

required and optional arguments #19

Closed ChangePlaces closed 7 years ago

ChangePlaces commented 7 years ago

how do you define an argument must be present? how do you define one which is optional?

j-maly commented 7 years ago

Use Optional property