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

How to write out ALL arguments and their values? #33

Closed LightTempler closed 7 years ago

LightTempler commented 7 years ago

Using ShowParsedArguments() it 's very easy to write parsed arguments to console.

I'm looking for a similar way to report everything my parsingtarget class holds (varnames / values) to console. This can give user an overview of complete set (given parameters, used default values).

After parsing I have access to parsers argument collection, but the PrintValueInfo() method of the args is internal, so a simple loop cannot do the job.

j-maly commented 7 years ago

This should be simple to add, I'll take a look.