mayuki / Cocona

Micro-framework for .NET console application. Cocona makes it easy and fast to build console applications on .NET.
MIT License
3.22k stars 83 forks source link

Command name formatting #140

Open Snuffsis opened 4 months ago

Snuffsis commented 4 months ago

Been looking around the docs as well as any other issues, but couldn't find anything for this.

Is it possible to change how commands are generated to be exactly as specified in the "AddCommand" method?

If I do AddCommand("CreateOrder")... it will want to generate the command according to kebabcase, i.e. create-order. But I kind of need to to be CamelCase (for legacy reasons). Is it possible to override this behavior?