text: const fs = require('fs-extra');
  const { print } = require('gluegun/print');
  
  function run(context) {
    const { projectPath } = context.exeInfo;
    const { amplify } = context;
  
    let jsonString = JSON.stringify(context.exeInfo.projectConfig, null, 4);
    const projectCofnigFilePath = amplify.pathManager.getProjectConfigFilePath(projectPath);
    fs.writeFileSync(projectCofnigFilePath, jsonString, 'utf8');
  
    jsonString = JSON.stringify(context.exeInfo.localEnvInfo, null, 4);
    const envFilePath = context.amplify.pathManager.getLocalEnvFilePath();
    fs.writeFileSync(envFilePath, jsonString, 'utf8');
  
    printWelcomeMessage();
  }
  
  
  function printWelcomeMessage() {
    print.info('');
    print.success('Successfully made configuration changes to your project.');
    print.info('');
  }
  
  module.exports = {
    run,
  };
  