index.js
// 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) => { 
          console.log(answers)
           writeToFile('README.md', generateMarkdown(answers))
      })
      .catch((err) => console.error(err));
  }
function init ( ) { inquirer . prompt ( questions ) . then ( ( answers ) => { console . log ( answers ) writeToFile ( 'README.md' , generateMarkdown ( answers ) ) } ) . catch ( ( err ) => console . error ( err ) ) ; }
TODO: Create a function to initialize app
TODO : Create a function to initialize app