You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We keep adding .command("foo").argument("...").action("...") to the bottom of the program.
Would be nice if --help could sort all the commands alphabetically.
Describe the solution you'd like program.help({sort: 'alphabetically'}) perhaps
Describe alternatives you've considered
Manually re-arrange the blocks of .command("foo").argument("...").action("...").
Additional context
Would you be able to work on it and provide a pull request ?
Yes
No
The text was updated successfully, but these errors were encountered:
I'm relying on Caporal preserving source order in my own API, so that I can group commands into meaningful categories: https://gltf-transform.donmccurdy.com/cli.html ... so I just wanted to request that if this is supported, using source order remains available as an option.
Related, I wish I could use source order for sub-command options, but alphabetical order is currently enforced there. (#191)
Is your feature request related to a problem? Please describe.
We keep adding
.command("foo").argument("...").action("...")
to the bottom of the program.Would be nice if
--help
could sort all the commands alphabetically.Describe the solution you'd like
program.help({sort: 'alphabetically'})
perhapsDescribe alternatives you've considered
Manually re-arrange the blocks of
.command("foo").argument("...").action("...")
.Additional context
Would you be able to work on it and provide a pull request ?
The text was updated successfully, but these errors were encountered: