 	description : 'Show help'
 	type        : 'boolean'
 
+yargs.options 'prod',
+	default     : false
+	description : 'Execute with all optimzations.  App will open in the browser but no file watching.'
+	type        : 'boolean'
+
 yargs.options 'serve',
 	default     : true
 	description : 'Serve the app'
 	type        : 'boolean'
 
-yargs.options 'prod',
-	default     : false
-	description : 'Execute with all optimzations.  App will open in the browser but no file watching.'
+yargs.options 'specs',
+	default     : true
+	description : 'Run specs'
 	type        : 'boolean'
 
 yargs.options 'stats',
 	default     :  false
 	description : 'Run statistics'
-	type        : 'boolean'
-
-yargs.options 'specs',
-	default     : true
-	description : 'Run specs'
 	type        : 'boolean'
 
 appUrl         = "http://localhost:#{PORT}"


	srcs = []

	if not nostats
		srcs.push src =
			gulp
				.src '**', cwd: STATS_DIST_DIRECTORY

isProd         = getSwitchOption 'prod'
isWindows      = /^win/.test(process.platform)
manifest       = {}
runStats       = !isProd and getSwitchOption 'stats'
useBackendless = not (isProd or getSwitchOption 'backend')
runServer      = getSwitchOption 'serve'
runSpecs       = !isProd and useBackendless and getSwitchOption 'specs'
runWatch       = !isProd and runServer
showHelp       = getSwitchOption 'help'
