lib/commands.js
function(folder) {
		var type = config.moduleType;
		var appPath;
		if (folder) {
			if (path.isAbsolute(folder)) {
				appPath = path.join(folder);
			} else {
				appPath = path.join(process.cwd(), folder);
			}
		} else {
			appPath = path.join(process.cwd());
		}
		var appSrc = config.apps[type];
		helpers.gitClone(appSrc, appPath);
	}
function(folder) {
		var type = config.moduleType;
		var appPath;
		if (folder) {
			if (path.isAbsolute(folder)) {
				appPath = path.join(folder);
			} else {
				appPath = path.join(process.cwd(), folder);
			}
		} else {
			appPath = path.join(process.cwd());
		}
		var appSrc = config.apps[type];
		helpers.gitClone(appSrc, appPath);
	}
function ( folder ) { var type = config . moduleType ; var appPath ; if ( folder ) { if ( path . isAbsolute ( folder ) ) { appPath = path . join ( folder ) ; } else { appPath = path . join ( process . cwd ( ) , folder ) ; } } else { appPath = path . join ( process . cwd ( ) ) ; } var appSrc = config . apps [ type ] ; helpers . gitClone ( appSrc , appPath ) ; }
Generates new app
@param {string} folder
Generates new app