diff --git a/package.json b/package.json index b621527..76f90db 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tode-cli", - "version": "1.0.3-alpha", + "version": "1.0.4-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 670fe3d..0560c4c 100644 --- a/src/commands/create-project/index.ts +++ b/src/commands/create-project/index.ts @@ -42,13 +42,11 @@ export default class CreateProject extends Command { } shell.exec(`npx rimraf ${projectName}/.git`); - shell.cd(`${projectName}/`); - shell.cp('.env.example', '.env'); - shell.exec('npx rimraf .env.example'); Log(chalk.green('Project generated successfully')); Log(chalk.green('-------------------------------')); Log(`run 'cd ${chalk.yellow(projectName)}' to enter project folder`); + Log('Then run "cp .env.example .env".'); } public async catch(error: Error) {