commandline icon indicating copy to clipboard operation
commandline copied to clipboard

Add the simple HelpText.AutoBuild() function

Open loxsmoke opened this issue 5 years ago • 1 comments

This is the minimal AutoText() function that can generate help text only from the command line parameters class.

Example:

HelpText helpText = HelpText.AutoBuild<MyCommandLine>();
Console.WriteLine(helpText.ToString());

I find it very useful for simple utilities that do not use verbs and have to show help text in case of invalid input data that cannot be detected by parsing.

loxsmoke avatar Jun 30 '20 20:06 loxsmoke

Hi!) I would be glad to get this method for my small project. Can you merge it ?

bannikovilea avatar Dec 29 '21 10:12 bannikovilea