Closed stevefai closed 5 years ago
Created a new module in utils/console-reader.js for handling user console input.
utils/console-reader.js
The module exports a promisified version of readline.question, which can be reused across the app to make code more readable and easier to test.
promisified
readline.question
Currently, console-reader is only used inside yo-dawg.js.
yo-dawg.js
node yo-dawg.js
Created a new module in
utils/console-reader.js
for handling user console input.The module exports a
promisified
version ofreadline.question
, which can be reused across the app to make code more readable and easier to test.Currently, console-reader is only used inside
yo-dawg.js
.Steps to Test
node yo-dawg.js
Screenshots
Deploy Notes
Checklist