Closed brunoosilva closed 6 years ago
Not exactly sure, but have you tried registering it and then just use it?
inquirer.registerPrompt('autocomplete', require('inquirer-autocomplete-prompt'));
Thanks for your answer..
Inside the Yeoman Generator, don't have access the variable inquirer, because is a internal dependence of Yeoman. How register this plugin ?
@brunoosilva that's not really possible because Yeoman is a generic interface integrated in a few differents tools (there's yo
, but also the GUI implementations/integrations). If you don't use the defaults, then the GUI won't know how to get an answer to the prompts.
@brunoosilva look at this: https://github.com/diegohaz/arc/blob/generator-arc/src/store/index.js
Thanks @ruslankhh
@brunoosilva @mokkabonna Did it work?
Hello,
How add in Yeoman ?
Thank you