commandlineparser / commandlineparser/commandline
Option to sort commands by verb name
- Lingua principale
- C#
- Stelle
- 4.8k
- Fork
- 478
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.