claude-flow
Version:
Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration
75 lines • 2.21 kB
TypeScript
/**
* Command Categories for CLI Help Organization
*
* Organizes commands into logical groups following DDD bounded contexts (ADR-002)
* and provides structured help output with clear visual hierarchy.
*
* @module commands/categories
*/
import type { Command } from '../types.js';
/**
* Command category definition
*/
export interface CommandCategory {
/** Category identifier */
id: string;
/** Display name for help output */
name: string;
/** Category description */
description: string;
/** Command names in this category */
commands: string[];
/** Display priority (lower = higher in help) */
priority: number;
/** Whether to show in condensed help */
showInCondensed: boolean;
}
/**
* Primary commands - Core workflow, most frequently used
* These map to main DDD bounded contexts
*/
export declare const PRIMARY_COMMANDS: CommandCategory;
/**
* Advanced commands - Specialized features for power users
*/
export declare const ADVANCED_COMMANDS: CommandCategory;
/**
* Utility commands - System tools and configuration
*/
export declare const UTILITY_COMMANDS: CommandCategory;
/**
* Analysis commands - Intelligence and routing
*/
export declare const ANALYSIS_COMMANDS: CommandCategory;
/**
* Management commands - Operations and lifecycle
*/
export declare const MANAGEMENT_COMMANDS: CommandCategory;
/**
* All command categories in display order
*/
export declare const COMMAND_CATEGORIES: CommandCategory[];
/**
* Get all command names across all categories
*/
export declare function getAllCommandNames(): string[];
/**
* Get category for a command
*/
export declare function getCategoryForCommand(commandName: string): CommandCategory | undefined;
/**
* Get categories to show in condensed help
*/
export declare function getCondensedCategories(): CommandCategory[];
/**
* Format categories for help output
*/
export declare function formatCategoriesHelp(commands: Map<string, Command>, options?: {
condensed?: boolean;
colored?: boolean;
}): string;
/**
* Command counts by category for status display
*/
export declare function getCommandCounts(): Record<string, number>;
//# sourceMappingURL=categories.d.ts.map