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

Can't override Argument.Parse in my own argument class #51

Closed dacendale closed 6 years ago

dacendale commented 6 years ago

Looking at the code the virtual Parse method is marked as internal. I can't extend from Argument (or one of its subclasses) and override Parse. This completely negates me from using this library to parse a command line with multiple strings for a single value. For example, if I try to add a convert handler to a ValueArgument it is just passed a single string and I need multiple strings to convert to my value type.

j-maly commented 6 years ago

Parse made public in v 3.0.18. Good luck with your project.

dacendale commented 6 years ago

Thanks for that incredible response!