Tyrrrz / CliFx

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

Add support for optional parameters #119

Closed alirezanet closed 2 years ago

alirezanet commented 2 years ago

This PR adds IsRequired to CommandParameter, but only can be false if the parameter is the last one. Analyzer will check this behavior

Related to #99 #76

alirezanet commented 2 years ago

Error is related to my other PR. ( fix in #121 )

I'll send another PR to fix the line break issue on Linux:

image

Tyrrrz commented 2 years ago

Thanks!