CLI command categorization and help formatting. Groups commands by category and generates formatted output.

Methods

(inner) formatCommandHelp(command) → {string}

Formats command for CLI help output.

Parameters:
NameTypeDescription
commandCommand
Returns:
Type: 
string

(inner) groupCommandsByCategory(commands) → {Record.<string, {label: string, commands: Array.<Command>}>}

Groups commands by category for organized help display.

Parameters:
NameTypeDescription
commandsArray.<Command>
Returns:
Type: 
Record.<string, {label: string, commands: Array.<Command>}>