@@ -30,52 +30,52 @@ if (type === 'loginSignUp') {
3030console . log ( `${ type } created at ${ filePath } ` ) ;
3131
3232
33- const sourceApp = argv . source || path . join ( __dirname , 'App' ) ;
34- const destinationApp = argv . destination || path . join ( process . cwd ( ) , 'src/' ) ;
33+ // const sourceApp = argv.source || path.join(__dirname, 'App');
34+ // const destinationApp = argv.destination || path.join(process.cwd(), 'src/');
3535
36- const sourceTW = argv . source || path . join ( __dirname , 'LoginSignUpTW' ) ;
37- const destinationTW = argv . destination || path . join ( process . cwd ( ) , 'src/components/LoginSignUpTW' ) ;
36+ // const sourceTW = argv.source || path.join(__dirname, 'LoginSignUpTW');
37+ // const destinationTW = argv.destination || path.join(process.cwd(), 'src/components/LoginSignUpTW');
3838
39- const sourceAppTW = argv . source || path . join ( __dirname , 'AppTW' ) ;
40- const destinationAppTW = argv . destination || path . join ( process . cwd ( ) , 'src/' ) ;
39+ // const sourceAppTW = argv.source || path.join(__dirname, 'AppTW');
40+ // const destinationAppTW = argv.destination || path.join(process.cwd(), 'src/');
4141
42- const sourcePR = argv . source || path . join ( __dirname , 'PrivateRoute' ) ;
43- const destinationPR = argv . destination || path . join ( process . cwd ( ) , 'src/components/PrivateRoute' ) ;
42+ // const sourcePR = argv.source || path.join(__dirname, 'PrivateRoute');
43+ // const destinationPR = argv.destination || path.join(process.cwd(), 'src/components/PrivateRoute');
4444
45- const sourceDash = argv . source || path . join ( __dirname , 'Dashboard' ) ;
46- const destinationDash = argv . destination || path . join ( process . cwd ( ) , 'src/components/Dashboard' ) ;
45+ // const sourceDash = argv.source || path.join(__dirname, 'Dashboard');
46+ // const destinationDash = argv.destination || path.join(process.cwd(), 'src/components/Dashboard');
4747
48- const sourceBackendMysqlNoMVC = argv . source || path . join ( __dirname , 'BackEndMysqlNoMVC' ) ;
49- const destinationBackendMysqlNoMVC = argv . destination || path . join ( process . cwd ( ) , '../' ) ;
48+ // const sourceBackendMysqlNoMVC = argv.source || path.join(__dirname, 'BackEndMysqlNoMVC');
49+ // const destinationBackendMysqlNoMVC = argv.destination || path.join(process.cwd(), '../');
5050
5151
5252
5353
5454
5555
56- async function RunReactLoginSignInTW ( ) {
57- try {
58- await fs . copy ( sourceTW , destinationTW ) ;
59- await fs . copy ( sourceAppTW , destinationAppTW ) ;
60- await fs . copy ( sourcePR , destinationPR ) ;
61- await fs . copy ( sourceDash , destinationDash ) ;
62- console . log ( 'The Login and SignUp templete Successfully Createed' ) ;
63- } catch ( err ) {
64- console . error ( 'Error copying folder:' , err ) ;
65- }
66- }
56+ // async function RunReactLoginSignInTW() {
57+ // try {
58+ // await fs.copy(sourceTW, destinationTW);
59+ // await fs.copy(sourceAppTW, destinationAppTW);
60+ // await fs.copy(sourcePR, destinationPR);
61+ // await fs.copy(sourceDash, destinationDash);
62+ // console.log('The Login and SignUp templete Successfully Createed');
63+ // } catch (err) {
64+ // console.error('Error copying folder:', err);
65+ // }
66+ // }
6767
68- async function RunBackendMysqlNoMVC ( ) {
69- try {
70- await fs . copy ( sourceBackendMysqlNoMVC , destinationBackendMysqlNoMVC ) ;
71- console . log ( 'Backend Development Enviroment Created Successful' ) ;
72- } catch ( err ) {
73- console . error ( 'Error copying folder:' , err ) ;
74- }
75- }
68+ // async function RunBackendMysqlNoMVC() {
69+ // try {
70+ // await fs.copy(sourceBackendMysqlNoMVC, destinationBackendMysqlNoMVC);
71+ // console.log('Backend Development Enviroment Created Successful');
72+ // } catch (err) {
73+ // console.error('Error copying folder:', err);
74+ // }
75+ // }
7676
77- module . exports = {
78- RunReactLoginSignIn,
79- RunReactLoginSignInTW,
80- RunBackendMysqlNoMVC
81- }
77+ // module.exports = {
78+ // RunReactLoginSignIn,
79+ // RunReactLoginSignInTW,
80+ // RunBackendMysqlNoMVC
81+ // }
0 commit comments