Typedef
Static Public Summary | ||
public |
Options an Option can be created with. |
|
public |
Options a Parser can be created with. |
|
public |
Options a Parser uses to parse arguments. |
Static Public
public Option.Options: Object source
Options an Option can be created with.
Properties:
Name | Type | Attribute | Description |
description | string |
|
A short string describing the option. |
type | string |
|
The option's type. One of OptionType. |
alias | string |
|
The alias to use for the option. |
public Parser.Options: Object source
Options a Parser can be created with.
Properties:
Name | Type | Attribute | Description |
options | Map<String, Option|Object|string> |
|
The options allowed. Any non-Option values will be converted to Options by passing them to Option#constructor directly. |
stopParsing | boolean | string |
|
The string to stop parsing after. Defaults to |