From aa3a7f35cd17ad575e9a3f66736639ba49b302fe Mon Sep 17 00:00:00 2001 From: Igor Lopes Date: Wed, 30 May 2018 15:49:45 -0300 Subject: [PATCH] Update init command --- commands/init.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/commands/init.js b/commands/init.js index f7e2cbd..50785b5 100644 --- a/commands/init.js +++ b/commands/init.js @@ -14,16 +14,18 @@ module.exports = function initCommand(program) { exit(1) } - let shellStr = 'git clone https://github.com/Nucleus-Inc/MeanStarter.git' + let shellStr = 'git clone --progress https://github.com/Nucleus-Inc/MeanStarter.git' if (typeof (option) === 'string') { shellStr += ' ' + option } + log(chalk.cyan('Started git repo cloning ...')) + if (exec(shellStr).code !== 0) { log(chalk.red.bold('Oops ... Something wrong happened, please try again.')) exit(1) } log(chalk.green.bold('Finish cloning Mean Starter !')) }) -} \ No newline at end of file +}