Arg
Index
Functions
Flag
Number
A property decorator for declaring a command line option with a numeric value.
Numbers
A property decorator for declaring a command line option with multiple numeric values.
Params
A method decorator for declaring command line parameters (positional arguments).
Type parameters
- T: PrimitiveType[] = string[]
String
A property decorator for declaring a command line option with a string value.
Strings
A property decorator for declaring a command line option with multiple string values.
flag
A property initializer for declaring a command line flag (boolean value).
number
A property initializer for declaring a command line option with a numeric value.
Type parameters
- T: number = number
numbers
A property initializer for declaring a command line option with multiple numeric values.
Type parameters
- T: number[] = number[]
params
A property initializer for declaring command line parameters (positional arguments).
Type parameters
- T: PrimitiveType[] = string[]
string
A property initializer for declaring a command line option with a string value.
Type parameters
- T: string = string
strings
A property initializer for declaring a command line option with multiple string values.
Type parameters
- T: string[] = string[]
A property decorator for declaring a command line flag (boolean value).