Open donmccurdy opened 4 years ago
I more or less solved my own problem using emoji, so feel free to close this. 🙂
I think it'd still be nice to be able to group commands like you suggested.
Don't know if this is a good idea necessarily, but I've got a nicer visual result now by using empty commands and newlines as section dividers:
Is your feature request related to a problem? Please describe.
My CLI has a growing number of commands that work independently — I don't think they make sense as subcommands— and they start to look overwhelming when presented as a list.
Describe the solution you'd like I'd love to be able to group my commands into sections in the
--help
output, without changing how they're invoked. Maybe with help text associated with each section, but that's just a nice-to-have. For example:Describe alternatives you've considered
Tried
.help()
and thesectionName
option. Does the right thing, but not for the content I want to group. :)Context
https://gltf-transform.donmccurdy.com/
Would you be able to work on it and provide a pull request ?