Appearance
Home > resol-vbus-core-toolbox > ArgParser
ArgParser class
A command-line argument parser.
Signature:
typescript
export declare class ArgParser
Constructors
Constructor | Modifiers | Description |
---|---|---|
Create a new argument parser. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
string[] | List of arguments. | ||
number | Current index. |
Methods
Method | Modifiers | Description |
---|---|---|
Return the next argument and increment the internal index. | ||
Consume the next argument and make sure it is not an option. | ||
Peek at an argument/option at a specific offset. |