Skip to content

Commit

Permalink
🐛 FIX: Print Next Steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadawais committed Sep 13, 2018
1 parent ebb1fe6 commit 59a0931
Showing 1 changed file with 32 additions and 33 deletions.
65 changes: 32 additions & 33 deletions installer/modules/printNextSteps.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,38 @@
const chalk = require( 'chalk' );

/* eslint-disable no-console */
// module.exports = () => {
console.log( '\n\n✅ ', chalk.black.bgGreen( ' All done! Use your code for good. \n' ) );
console.log(
'Installer has added WPGulp files to the current directory. ',
'\nInside this directory, you can run this command:'
);
module.exports = () => {
console.log( '\n\n✅ ', chalk.black.bgGreen( ' All done! Use your code for good. \n' ) );
console.log(
'Installer has added WPGulp files to the current directory. ',
'\nInside this directory, you can run this command:'
);

// Scripts.
console.log(
'\n👉 ',
' Type',
chalk.black.bgWhite( ' npm start ' ),
'\n\n',
' Use to compile and run your files.',
'\n',
' Watches for any changes and reports back any errors in your code.'
);
// Scripts.
console.log(
'\n👉 ',
' Type',
chalk.black.bgWhite( ' npm start ' ),
'\n\n',
' Use to compile and run your files.',
'\n',
' Watches for any changes and reports back any errors in your code.'
);

// Support.
console.log( '\n✊ ', chalk.black.bgYellow( ' Support WPGulp \n' ) );
console.log(
'Like WPGulp? You can now support this free and open source project i.e. more updates and better maintenance: \n'
);
console.log(
` ${chalk.yellow( 'Support for one hour or more →' )} https://AhmdA.ws/WPG99`,
'\n',
` ${chalk.yellow( 'More ways to support →' )} https://AhmdA.ws/WPGSupport`
);
// Support.
console.log( '\n✊ ', chalk.black.bgYellow( ' Support WPGulp \n' ) );
console.log(
'Like WPGulp? You can now support this free and open source project i.e. more updates and better maintenance: \n'
);
console.log(
` ${chalk.yellow( 'Support for one hour or more →' )} https://AhmdA.ws/WPG99`,
'\n',
` ${chalk.yellow( 'More ways to support →' )} https://AhmdA.ws/WPGSupport`
);

// Get started.
console.log( '\n\n🎯 ', chalk.black.bgGreen( ' Get Started → \n' ) );
console.log( ' I suggest that you begin by: \n' );
console.log( ` ${chalk.dim( '1.' )} Editing the ${chalk.green( 'wpgulp.config.js' )} file` );
console.log( ` ${chalk.dim( '2.' )} Running ${chalk.green( 'npm' )} start`, '\n\n' );

// };
// Get started.
console.log( '\n\n🎯 ', chalk.black.bgGreen( ' Get Started → \n' ) );
console.log( ' I suggest that you begin by: \n' );
console.log( ` ${chalk.dim( '1.' )} Editing the ${chalk.green( 'wpgulp.config.js' )} file` );
console.log( ` ${chalk.dim( '2.' )} Running ${chalk.green( 'npm' )} start`, '\n\n' );
};

0 comments on commit 59a0931

Please sign in to comment.