Members
(static, constant) nconf
Reference to nconf instance.
- Source:
Methods
(static) getQuestions() → {Array.<Question>}
Get array of necessary questions.
- Source:
Returns:
- Type
- Array.<Question>
(static) inquire() → {Promise.<nconf>}
Resolves to nconf configuration.
User will be prompted for missing configuration previously specified
by the `necessitate` function. Answers automatically set in nconf.
- Source:
Returns:
- Type
- Promise.<nconf>
(static) necessitate(questions)
Add required configuration options in the form of Inquirer questions.
Parameters:
Name | Type | Description |
---|---|---|
questions |
Array.<Question> |
- Source:
- See:
(static) reset()
Resets nconf configuration and removes all required configuration options.
- Source: