commandlineparser / commandlineparser/commandline
Option to sort commands by verb name
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Is it possible to get option to sort all command by VerbAttribute?
Example: for next commands -
[Verb("pa", HelpText = "Perform action")]
public class PerformActionRequest { }
[Verb("npa", HelpText = "Don't do it")]
public class PreventActionRequest { }
[Verb("a", HelpText = "Action")]
public class ActionRequest { }
parser.ParseArguments(args, typeof(PreventActionRequest ),
typeof(PerformActionRequest ),
typeof(ActionRequest ))
At cmd we'll see all commands sorted by Verb attribute:
a Action
npa Don't do it
p Perform action
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.