CLI command categorization and help formatting. Groups commands by category and generates formatted output.
- Source
Methods
(inner) formatCommandHelp(command) → {string}
Formats command for CLI help output.
Parameters:
| Name | Type | Description |
|---|---|---|
command | Command |
- Source
Returns:
- Type:
- string
(inner) groupCommandsByCategory(commands) → {Record.<string, {label: string, commands: Array.<Command>}>}
Groups commands by category for organized help display.
Parameters:
| Name | Type | Description |
|---|---|---|
commands | Array.<Command> |
- Source
Returns:
- Type:
- Record.<string, {label: string, commands: Array.<Command>}>