module.exports = function(listCmd){

	require('./libs/create-app.js').init(listCmd);
	require('./libs/create-model.js').init(listCmd);
	require('./libs/create-controller.js').init(listCmd);
	require('./libs/gen-model.js').init(listCmd);
	require('./libs/create-login.js').init(listCmd);

	// setCommand("gen-rest-model", {
	// 	name:"gen-rest-model", 
	// 	params:'modelName',
	// 	options:"",
	// 	desc: 'auto generate controller REST API with Data model',
	// 	runCommand:function(params, cb) {
	// 		logDetail('gen-rest-model');
	// 		cb();
	// 	}
	// });

	// setCommand("create-login", {
	// 	name:"create-login", 
	// 	params:'',
	// 	options:"",
	// 	desc: 'create simple and genenate login/register',
	// 	runCommand:function(params, cb) {
	// 		createLogin.generateLogin((err) => {
	// 			if(err){
	// 				logDetail('generate login fails')
	// 				cb(); 
	// 				return;
	// 			}
	// 			logDetail('generate login success');
	// 			cb();
	// 		});		
	// 	}
	// });

	// setCommand("create-login-model", {
	// 	name:"create-login-model", 
	// 	params:'',
	// 	options:"-s",
	// 	desc: 'create login with model and genenate login/register',
	// 	runCommand:function(params, cb) {
	// 		logDetail('create-login-model');
	// 		createLoginModel.init(()=>{
	// 			cb();	
	// 		})
			
	// 	}
	// });

	// setCommand("gen-fullmenu", {
	// 	name:"gen-fullmenu", 
	// 	params:'',
	// 	desc: 'create nav-bar/sidemenu/mainview/footer',
	// 	runCommand:function(params, cb) {
	// 		console.log('gen-fullmenu');
	// 		cb();
	// 	}
	// });

}
@@ -557,422 +557,8 @@
 );%0A%0A
-%09// setCommand(%22create-login%22, %7B%0A%09// %09name:%22create-login%22, %0A%09// %09params:'',%0A%09// %09options:%22%22,%0A%09// %09desc: 'create simple and genenate login/register',%0A%09// %09runCommand:function(params, cb) %7B%0A%09// %09%09createLogin.generateLogin((err) =%3E %7B%0A%09// %09%09%09if(err)%7B%0A%09// %09%09%09%09logDetail('generate login fails')%0A%09// %09%09%09%09cb(); %0A%09// %09%09%09%09return;%0A%09// %09%09%09%7D%0A%09// %09%09%09logDetail('generate login success');%0A%09// %09%09%09cb();%0A%09// %09%09%7D);%09%09%0A%09// %09%7D%0A%09// %7D);%0A%0A
 %09// 

remove create-login