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

Adding alternative methods for PrintUsage(…), PrintValueInfo etc for using in Non-Console application. #81

Open dmagician038 opened 2 years ago

dmagician038 commented 2 years ago

More enhancement then an issue: It should not take too much time (depending on your busyness and available time) and it will make the library much more convenient for usage on Non-Console apps (e.g. WPF, WinForms or any other).

-- It is basically the same code as the original methods, but using StringBuilder instead of TextWriter...

As a side note: I've added the mentioned two alternative methods on the copied code from your repo.
(Sorry for the annoyance, but I'm not familiar with all of git abilities like pull etc [how exactly they are working]. So posting directly to you...)