Skip to content

Commit 993053f

Browse files
authored
Merge pull request #16 from taslangraham/update-create-project-message
update message after project is created
2 parents a79887e + add991d commit 993053f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tode-cli",
3-
"version": "1.0.3-alpha",
3+
"version": "1.0.4-alpha",
44
"author": "Taslan Graham",
55
"bin": {
66
"tode": "bin/run"

src/commands/create-project/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,11 @@ export default class CreateProject extends Command {
4242
}
4343

4444
shell.exec(`npx rimraf ${projectName}/.git`);
45-
shell.cd(`${projectName}/`);
46-
shell.cp('.env.example', '.env');
47-
shell.exec('npx rimraf .env.example');
4845

4946
Log(chalk.green('Project generated successfully'));
5047
Log(chalk.green('-------------------------------'));
5148
Log(`run 'cd ${chalk.yellow(projectName)}' to enter project folder`);
49+
Log('Then run "cp .env.example .env".');
5250
}
5351

5452
public async catch(error: Error) {

0 commit comments

Comments
 (0)