Inquirer.js
Inquirer.js copied to clipboard
Pre-defined answers
I should be able to pass a hash of pre-defined answers to prompt that essentially auto-fills the associated prompts.
The pre-defined answers would still be passed to the filter, transformer, and validate functions. Beforehand, they would be coerced to a string as if they were manually typed into the prompt.
WDYT?
This would be very valuable for testing
@rdpacheco See #709
@rdpacheco See #709
This is great, hope it gets merged soon. Thanks!
@rdpacheco Unlikely that it will, because it modifies the "old" codebase and has no unit tests.
what about pre-set 'environmental variable' @aleclarson
Not sure when that was added, but a PR was merged with that feature. See documentation.
(cleaning old issues)