function init() {
  inquirer
    .prompt(questions)
    .then(answers => {
      // Use user feedback for... whatever!!
      const markdown = generateMarkdown(answers);
      writeFile('test.md', markdown);
    })
    .catch(error => {
      if (error.isTtyError) {
        // Prompt couldn't be rendered in the current environment
      } else {
        // Something else went wrong
      }
    });
}
// TODO: Create a function to initialize app
Create a function to initialize app
Create a function to initialize app
function init() {
  inquirer
    .prompt(questions)
    .then(answers => {
      const markdown = generateMarkdown(answers);
      writeFile('test.md', markdown);
    })
    .catch(error => {
      if (error.isTtyError) {
      } else {
      }
    });
}
function init ( ) { inquirer . prompt ( questions ) . then ( answers => { const markdown = generateMarkdown ( answers ) ; writeFile ( 'test.md' , markdown ) ; } ) . catch ( error => { if ( error . isTtyError ) { } else { } } ) ; }
TODO: Create a function to initialize app
TODO : Create a function to initialize app
// Use user feedback for... whatever!! // Prompt couldn't be rendered in the current environment // Something else went wrong