feat(mosaic): alphabetize and group mosaic --help output #402

Merged
jason.woltje merged 1 commits from feat/mosaic-help-alphabetize into main 2026-04-05 05:12:33 +00:00
Owner

Implements CU-04-01, CU-04-02, CU-04-03 from mission cli-unification-20260404.

  • CU-04-01: Added configureHelp with sortSubcommands true on root program, sessions, gateway, and mission groups
  • CU-04-02: Added Command Groups labeled section via addHelpText after
  • CU-04-03: Verified output; no stale help content found in docs

Before (unordered): claude, codex, opencode, pi, yolo, coord, prdy, seq, upgrade, init, doctor, sync, bootstrap, login, tui, sessions, gateway, agent, mission, quality-rails, update, wizard

After (alphabetized, with group reference): agent, bootstrap, claude, codex, coord, doctor, gateway, help, init, login, mission, opencode, pi, prdy, quality-rails, seq, sessions, sync, tui, update, upgrade, wizard, yolo

Command Groups section appended below standard list:
Runtime: tui, login, sessions
Gateway: gateway
Framework: agent, bootstrap, coord, doctor, init, mission, prdy, seq, sync, upgrade, wizard, yolo
Platform: update
Runtimes: claude, codex, opencode, pi

Approach: Commander 13 has no native group API. Used sortSubcommands true for alphabetical ordering and addHelpText after for the grouped reference section.

All quality gates passed: lint, format:check, 78 tests.

Implements CU-04-01, CU-04-02, CU-04-03 from mission cli-unification-20260404. - CU-04-01: Added configureHelp with sortSubcommands true on root program, sessions, gateway, and mission groups - CU-04-02: Added Command Groups labeled section via addHelpText after - CU-04-03: Verified output; no stale help content found in docs Before (unordered): claude, codex, opencode, pi, yolo, coord, prdy, seq, upgrade, init, doctor, sync, bootstrap, login, tui, sessions, gateway, agent, mission, quality-rails, update, wizard After (alphabetized, with group reference): agent, bootstrap, claude, codex, coord, doctor, gateway, help, init, login, mission, opencode, pi, prdy, quality-rails, seq, sessions, sync, tui, update, upgrade, wizard, yolo Command Groups section appended below standard list: Runtime: tui, login, sessions Gateway: gateway Framework: agent, bootstrap, coord, doctor, init, mission, prdy, seq, sync, upgrade, wizard, yolo Platform: update Runtimes: claude, codex, opencode, pi Approach: Commander 13 has no native group API. Used sortSubcommands true for alphabetical ordering and addHelpText after for the grouped reference section. All quality gates passed: lint, format:check, 78 tests.
jason.woltje added 1 commit 2026-04-05 05:09:37 +00:00
feat(mosaic): alphabetize and group mosaic --help output
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
09777e5ef7
Enables sortSubcommands on the root program, sessions group, gateway
group, and mission group so all subcommand listings render A-Z. Appends
a Command Groups section via addHelpText to group commands by role
(Runtime, Gateway, Framework, Platform, Runtimes).

Implements CU-04-01, CU-04-02, CU-04-03 from mission cli-unification-20260404.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
jason.woltje merged commit 2446593fff into main 2026-04-05 05:12:33 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaicstack/stack#402