From a79887e3bf456c3ed5e55d48c5480e53d5c1428d Mon Sep 17 00:00:00 2001 From: taslangraham Date: Sat, 12 Mar 2022 11:36:18 -0500 Subject: [PATCH] run git clone silently --- package.json | 2 +- src/commands/create-project/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5744581..b621527 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tode-cli", - "version": "1.0.2-alpha", + "version": "1.0.3-alpha", "author": "Taslan Graham", "bin": { "tode": "bin/run" diff --git a/src/commands/create-project/index.ts b/src/commands/create-project/index.ts index 0bffc3e..670fe3d 100644 --- a/src/commands/create-project/index.ts +++ b/src/commands/create-project/index.ts @@ -35,7 +35,7 @@ export default class CreateProject extends Command { Log(chalk.green(`Generating Project - ${chalk.yellow(projectName)} ....`)); const cloneCommand = `git clone ${starterTemplateRepo} --depth 1 --branch ${releaseTag} ${projectName}`; - const creation = await shell.exec(cloneCommand, { silent: false, timeout: 1500 }); + const creation = await shell.exec(cloneCommand, { silent: true, timeout: 1500 }); if (creation.code !== SUCCESS_EXIT_CODE) { throw new Error('Failed to create project. Please ensure you have an internet connection.');