Skip to content

Interface Option ​

Source: command.ts

Represents a command-line flag or parameter.

Properties ​

long? ​

optional long?: string

The full name of the option (e.g., "all" for --all).


short? ​

optional short?: string

The single-character alias (e.g., "a" for -a).


isInput ​

isInput: boolean

If true, the shell expects a value to follow this option (e.g., --file <name>).

Built by Prozilla