Skip to content

feat(cli): Complete command registry with 5 categories (32 commands)#1024

Open
ruvnet wants to merge 10 commits intomainfrom
feat/cli-complete-command-registry
Open

feat(cli): Complete command registry with 5 categories (32 commands)#1024
ruvnet wants to merge 10 commits intomainfrom
feat/cli-complete-command-registry

Conversation

@ruvnet
Copy link
Owner

@ruvnet ruvnet commented Jan 26, 2026

Summary

Updates CLI help to show all 32 commands organized into 5 clear categories, following DDD bounded contexts.

Closes #1023

Changes

New: commands/categories.ts

  • CommandCategory interface
  • 5 category definitions: Primary, Advanced, Utility, Analysis, Management
  • Helper functions for category formatting

Updated: commands/index.ts

  • All 32 commands loaded synchronously
  • commandsByCategory export for organized access
  • Backwards-compatible exports

Updated: index.ts (CLI main)

  • showHelp() displays commands by category
  • Clear visual hierarchy

New: ADR-045-cli-command-registry.md

  • Documents the decision and rationale

Help Output (Before → After)

Before: 18 commands in single "COMMANDS:" section
After: 32 commands in 5 categorized sections:

PRIMARY COMMANDS:     (10) init, start, status, agent, swarm, memory, task, session, mcp, hooks
ADVANCED COMMANDS:    (6)  neural, security, performance, embeddings, hive-mind, ruvector  
UTILITY COMMANDS:     (6)  config, doctor, daemon, completions, migrate, workflow
ANALYSIS COMMANDS:    (3)  analyze, route, progress
MANAGEMENT COMMANDS:  (7)  providers, plugins, deployment, claims, issues, update, process

Test plan

  • npx . --help shows all 32 commands
  • Commands organized into 5 categories
  • Build succeeds without errors
  • Individual command help still works
  • No breaking changes to existing imports

🤖 Generated with claude-flow

ruvnet and others added 10 commits January 26, 2026 15:58
Automatic checkpoint created by Claude Code
- Branch: feat/cli-complete-command-registry
- Timestamp: 2026-01-26T15:58:34Z
- Changes: 6 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Automatic checkpoint created by Claude Code
- Branch: feat/cli-complete-command-registry
- Timestamp: 2026-01-26T15:59:34Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Automatic checkpoint created by Claude Code
- Branch: feat/cli-complete-command-registry
- Timestamp: 2026-01-26T16:00:01Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Automatic checkpoint created by Claude Code
- Branch: feat/cli-complete-command-registry
- Timestamp: 2026-01-26T16:00:11Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Automatic checkpoint created by Claude Code
- Branch: feat/cli-complete-command-registry
- Timestamp: 2026-01-26T16:00:37Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Automatic checkpoint created by Claude Code
- Branch: feat/cli-complete-command-registry
- Timestamp: 2026-01-26T16:09:47Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Automatic checkpoint created by Claude Code
- Branch: feat/cli-complete-command-registry
- Timestamp: 2026-01-26T16:17:40Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Automatic checkpoint created by Claude Code
- Branch: feat/cli-complete-command-registry
- Timestamp: 2026-01-26T16:18:57Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Automatic checkpoint created by Claude Code
- Branch: feat/cli-complete-command-registry
- Timestamp: 2026-01-26T16:24:27Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Automatic checkpoint created by Claude Code
- Branch: feat/cli-complete-command-registry
- Timestamp: 2026-01-26T16:25:04Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ruvnet ruvnet force-pushed the feat/cli-complete-command-registry branch from 63fe387 to c6b5efa Compare March 5, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(cli): Complete command registry with primary/secondary categorization

1 participant