Enquirer confirmar
const { Confirm } = require('enquirer'); const prompt = new Confirm({ name: 'question', message: 'Want to answer?'}); prompt.run() .then(answer => console.log('Answer:', answer)) .catch(console.error);
Cat Monkey