Skip to main content
Version: Next

ParsedCommand

ParsedCommand

Represents a parsed command with its metadata ParsedCommand

PropertyTypeValueDescription
fullPathstringN/AAbsolute path to this command
middlewaresArray<string>N/AArray of middleware IDs that apply to this command
namestringN/ACommand name derived from the file name without extension
parentnull | stringN/AParent command name for nested commands, or null if root-level command
parentSegmentsArray<string>N/AArray of command segments representing the command hierarchy
pathstringN/AAbsolute file system path to the command file