CLI command registry with auto-discovery. Loads command modules from this directory and manages aliases.

Methods

(inner) discoverCommands() → {Map.<string, Command>}

Auto-discover and load all command modules from this directory

Returns:
Type: 
Map.<string, Command>

(inner) getAllCommands() → {Array.<Command>}

Returns:
Type: 
Array.<Command>

(inner) getCommand(name) → {Command|undefined}

Parameters:
NameTypeDescription
namestring
Returns:
Type: 
Command | undefined

Type Definitions

Command

Type:
  • Object
Properties
NameTypeAttributesDescription
namestring
categorystring<optional>
descriptionstring<optional>
aliasesArray.<string><optional>
optionsArray.<Object><optional>
examplesArray.<string><optional>
runfunction