1
1
const chalk = require ( 'chalk' ) ;
2
2
const ejs = require ( "ejs" ) ;
3
3
const path = require ( "path" ) ;
4
- const spawnSync = require ( ' child_process' ) . spawnSync ;
4
+ const spawnSync = require ( " child_process" ) . spawnSync ;
5
5
6
- const app = require ( '.. /bootstrap' ) ;
6
+ const app = require ( "./.. /bootstrap" ) ;
7
7
const FM = require ( "./../utils/file-manager" ) ;
8
- const FormatString = require ( "../utils/format-string" ) ;
8
+ const FormatString = require ( "./../utils/format-string" ) ;
9
+ const help = require ( "./help" )
9
10
const ARGS = process . ARGS ;
10
11
11
12
const projectFiles = [
@@ -22,7 +23,7 @@ const projectFiles = [
22
23
23
24
{ path : "src/middlewares/auth.middleware.js" , template : "mw-auth" , options : [ "auth" ] } ,
24
25
{ path : "src/middlewares/error.middleware.js" , template : "mw-error" , options : [ ] } ,
25
- { path : "src/middlewares/upload.middleware.js" , template : "mw-multer " , options : [ ] } ,
26
+ { path : "src/middlewares/upload.middleware.js" , template : "mw-upload " , options : [ ] } ,
26
27
{ path : "src/middlewares/pre-route.middleware.js" , template : "mw-pre-route" , options : [ ] } ,
27
28
28
29
{ path : "src/controllers/auth.controller.js" , template : "src-controller-auth" , options : [ "auth" ] } ,
0 commit comments