File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
src/commands/create-project Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments