ParsedCommand
ParsedCommand
Represents a parsed command with its metadata ParsedCommand
Property | Type | Value | Description |
---|---|---|---|
fullPath | string | N/A | Absolute path to this command |
middlewares | Array<string> | N/A | Array of middleware IDs that apply to this command |
name | string | N/A | Command name derived from the file name without extension |
parent | null | string | N/A | Parent command name for nested commands, or null if root-level command |
parentSegments | Array<string> | N/A | Array of command segments representing the command hierarchy |
path | string | N/A | Absolute file system path to the command file |