ExecutableCommand interface
Home > streplts > ExecutableCommand
ExecutableCommand interface
Section titled “ExecutableCommand interface”Complete specification for a leaf execution target containing operational hooks and terminal arguments.
Signature:
export interface ExecutableCommand extends BaseCommandExtends: BaseCommand
Remarks
Section titled “Remarks”Represents a definitive final command leaf that processes active inputs and performs application runtime operations.
Properties
Section titled “Properties”|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(Optional) Collection of argument parameter bounds defining names, constraints, and custom completions. | |||
|
never |
(Optional) Disallowed property structure forcing mutual exclusivity with branch namespaces. | ||
|
(Optional) Collection of option flag definitions specifying available switches, expected value types, and descriptions for help documentation. | |||
|
(args: string[], context: any, globals: any, options: Record<string, any>) => void | Promise<void> |
Execution callback invoked when the parser completes traversal validation matching this definition. * |