Sorting the help menu.
This commit is contained in:
parent
01e0d3a320
commit
26b9abe2c9
@ -46,6 +46,7 @@ export function configureProgramHelp(program: Command, ctx: ProgramContext) {
|
||||
program.configureHelp({
|
||||
optionTerm: (option) => theme.option(option.flags),
|
||||
subcommandTerm: (cmd) => theme.command(cmd.name()),
|
||||
sortSubcommands: true,
|
||||
});
|
||||
|
||||
program.configureOutput({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user