Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

enquirer confirm

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);
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #enquirer #confirm
ADD COMMENT
Topic
Name
8+8 =