text: 
  const inquirer = require('inquirer');
  const generateMarkdown = require('./Clone-Develop/utils/generateMarkdown.js');
  const fs = require('fs');
  
  const questions = [
      {
          type: 'input',
          name: 'title',
          message: 'Please Enter the Name of your Project? (Required):',
          validate: titleInput => {
              if (titleInput) {
                  return true;
              } else {
                  console.log('Please enter your title!');
                  return false;
              }
          }
      },
      {
          type: 'input',
          name: 'what',
          message: 'Please Enter a Discription of your Project (Required):',
          validate: titleInput => {
              if (titleInput) {
                  return true;
              } else {
                  console.log('Please Explain Your Prjoect');
                  return false;
              }
          }
      },
      {
          type: 'input',
          name: 'installation',
          message: 'Please provide step-by-step project installation (Required):',
          validate: installInput => {
              if (installInput) {
                  return true;
              } else {
                  console.log('Please enter your installation instructions');
                  return false;
              }
          }
      },
      {
          type: 'input',
          name: 'usage',
          message: 'Please provide usage instructions for your project (Required):',
          validate: installInput => {
              if (installInput) {
                  return true;
              } else {
                  console.log('Usage Instructions & Examples');
                  return false;
              }
          }
      },
      {
          type: 'list',
          name: 'license',
          message: 'Which license will you use for your project?',
          choices: ['agpl', 'apache', 'mit', 'no license']
      },
      {
          type: 'input',
          name: 'contribute',
          message: 'Please provide guidelines for contributing. (Required)',
          when: ({ confirmContributers }) => {
              if (confirmContributers) {
                  return true;
              } else {
                  return false;
              }
          },
          validate: contributerInput => {
              if (contributerInput) {
                  return true;
              } else {
                  console.log('Please enter contributer guidelines!');
                  return false;
              }
          }
      },
      {
          type: 'input',
          name: 'githubUsername',
          message: 'What is your GitHub Username? (Required)',
          validate: githubInput => {
              if (githubInput) {
                  return true;
              } else {
                  console.log('Please enter your GitHub username!');
                  return false;
              }
          }
      },
      {
          type: 'input',
          name: 'email',
          message: 'What is your email address? (Required)',
          validate: githubInput => {
              if (githubInput) {
                  return true;
              } else {
                  console.log('Please enter your email address!');
                  return false;
              }
          }
      },
  ];
  
  // function to write README file
  const writeFile = fileContent => {
      return new Promise((resolve, reject) => {
          fs.writeFile('./output/generated-README.md', fileContent, err => {
              if (err) {
                  reject(err);
                  return;
              }
  
              resolve({
                  ok: true,
                  message: 'Your Readme.md has been created! (see output dir)'
              });
          });
      });
  };
  
  
  const init = () => {
  
      return inquirer.prompt(questions)
      .then(readmeData => {
          return readmeData;
      })
  }
  
  
  init()
  .then(readmeData => {
      console.log(readmeData);
      return generateMarkdown(readmeData);
  })
  .then(pageMD => {
      return writeFile(pageMD);
  })
  .then(writeFileResponse => {
      console.log(writeFileResponse.message);
  })
  .catch(err => {
      console.log(err);
  })