Constructor
new Parameter(name, required, defaultValue, description)
- Source:
Parameter constructor.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
name |
string | The name. | |
required |
boolean |
true
|
Indicates that the parameter is required. |
defaultValue |
* | null |
null
|
The default value. |
description |
string | The description for CLI help. |
Extends
Members
yargsModel :Object
- Source:
- Overrides:
Get Yargs argument model.