Michael Barnes

Results 6 comments of Michael Barnes

The first example would be a bit tricky to implement, since you're essentially using a verb within an option. Without knowing the structure of the rest of your commands, I'd...

> I got your example. Cool! I try to think commands in a different way. Seems like you're on the right track. One possibility is to use `string[]` for `--onmatch`...

Not sure if you fixed your issue yet, but you could add a default value to your option: ```c# [Option("add-project", Default = "", Required = false)] public string AddProjectName {...

The HelpText Configuration page has more details on this: https://github.com/commandlineparser/commandline/wiki/HelpText-Configuration Specifically, the `HelpText.AutoBuild` method seems to be what you're looking for: ```c# //3- generate help based on result and parameters...

> The default is to update parts, and it's disabled if the second flag is passed. The user needs to pass one flag or the other (so they don't get...

That isn't typically how options in command lines work (e.g. a --debug option is off by default unless specified). If the implementation cannot be budged, you can use a `string`...