@seedneey/gint
Version:
creating a repo (in Github) for your project in one command
27 lines (23 loc) • 819 B
JavaScript
const chalk = require("chalk");
module.exports = {
displayChalk: async (data) => {
const argv = require("minimist")(process.argv.slice(2));
console.log(chalk.bold(`\n\n Horaaay! 🎉`));
console.log(chalk.bold(` You have initialized a project! 💻\n`));
console.log(
chalk.bold.cyanBright(` This is the start of something incredible!\n\n`)
);
console.log(chalk.bold(` Start with: \n`));
console.log(chalk.yellowBright(` cd ${argv._[0]}/\n`));
if (data.config !== "none") {
console.log(
chalk.cyanBright(` yarn`) +
chalk.gray(` (install react dependencies)\n`)
);
console.log(
chalk.cyanBright(` yarn start`) + chalk.gray(` (start development)\n`)
);
}
console.log(chalk.yellowBright(` You can do it! 🔥`));
},
};