/** * Job-grouped `openlore --help` (change: refine-happy-path-and-defaults / * CommandSurfaceGroupedByJob). * * OpenLore has ~49 top-level commands. Commander's default help lists them in one * flat block, so `install` and `orient` sit beside the experimental `panic-*` * suite and `gryph-watch` with no altitude marker — a new user can't tell the * front door from the basement. This module groups the Commands section of the * top-level help by JOB (set up · navigate · govern a change · inspect · multi-repo * · advanced/experimental), mirroring the capability families. * * It only changes PRESENTATION. Every command stays invocable, and any command not * yet categorized falls through to an "Other" group, so a newly-added command is * never hidden — it just shows ungrouped until it is placed. The override is a * faithful reproduction of Commander 12's `formatHelp`, delegating every other * section (usage, description, arguments, options, global options) to the supplied * helper unchanged; only the Commands section is grouped. */ import type { Command, Help } from 'commander'; /** Job groups, in display order. Each lists the command names it contains. */ export declare const COMMAND_GROUPS: ReadonlyArray<{ title: string; commands: readonly string[]; }>; /** Resolve which group a command name belongs to, or the Other group. */ export declare function groupForCommand(name: string): string; /** * A Commander `formatHelp` replacement that groups the Commands section by job. * Faithful to Commander 12's default for every other section. */ export declare function groupedFormatHelp(cmd: Command, helper: Help): string; //# sourceMappingURL=help-groups.d.ts.map