Skip to content

Commit

Permalink
Merge pull request #16 from taslangraham/update-create-project-message
Browse files Browse the repository at this point in the history
update message after project is created
  • Loading branch information
taslangraham authored Mar 12, 2022
2 parents a79887e + add991d commit 993053f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tode-cli",
"version": "1.0.3-alpha",
"version": "1.0.4-alpha",
"author": "Taslan Graham",
"bin": {
"tode": "bin/run"
Expand Down
4 changes: 1 addition & 3 deletions src/commands/create-project/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 993053f

Please sign in to comment.