public static function writeHelp() {
		
		/*
		
		The generic help follows this format:
		
		Pattern Lab Console Options
		
		Usage:
		  php core/console command [options]
		
		Available commands:
		  --build   (-b)    Build Pattern Lab
		  --watch   (-w)    Build Pattern Lab and watch for changes and rebuild as necessary
		  --version (-v)    Display the version number
		  --help    (-h)    Display this help message.
		
		*/
		
		// find length of longest command
		$lengthLong = 0;
		foreach (self::$commands as $command => $attributes) {
			$lengthLong = ($attributes["commandLongLength"] > $lengthLong) ? $attributes["commandLongLength"] : $lengthLong;
		}
		
		// write out the generic usage info
		self::writeLine("");
		self::writeLine("<h1>Pattern Lab Console Options</h1>",true,true);
		self::writeLine("<h2>Usage</h2>:",true,true);
		self::writeLine("  php ".self::$self." command <optional>[options]</optional>",true,true);
		self::writeLine("<h2>Available commands</h2>:",true,true);
		
		// write out the commands
		foreach (self::$commands as $command => $attributes) {
			$spacer = self::getSpacer($lengthLong,$attributes["commandLongLength"]);
			self::writeLine("  --".$attributes["commandLong"].$spacer."  <desc>".$attributes["commandDesc"]."</desc>",true);
		}
		
		// write out how to get more help
		self::writeLine("");
		self::writeLine("<h2>Get options for a specific command:</h2>",true,true);
		self::writeLine("  php ".self::$self." --help --command",true);
		
		self::writeLine("");
		
	}
public static function writeHelp() {
		
		/*
		
		The generic help follows this format:
		
		Pattern Lab Console Options
		
		Usage:
		  php core/console command [options]
		
		Available commands:
		  --build   (-b)    Build Pattern Lab
		  --watch   (-w)    Build Pattern Lab and watch for changes and rebuild as necessary
		  --version (-v)    Display the version number
		  --help    (-h)    Display this help message.
		
		*/
		
		// find length of longest command
		$lengthLong = 0;
		foreach (self::$commands as $command => $attributes) {
			$lengthLong = ($attributes["commandLongLength"] > $lengthLong) ? $attributes["commandLongLength"] : $lengthLong;
		}
		
		// write out the generic usage info
		self::writeLine("");
		self::writeLine("<h1>Pattern Lab Console Options</h1>",true,true);
		self::writeLine("<h2>Usage</h2>:",true,true);
		self::writeLine("  php ".self::$self." command <optional>[options]</optional>",true,true);
		self::writeLine("<h2>Available commands</h2>:",true,true);
		
		// write out the commands
		foreach (self::$commands as $command => $attributes) {
			$spacer = self::getSpacer($lengthLong,$attributes["commandLongLength"]);
			self::writeLine("  --".$attributes["commandLong"].$spacer."  <desc>".$attributes["commandDesc"]."</desc>",true);
		}
		
		// write out how to get more help
		self::writeLine("");
		self::writeLine("<h2>Get options for a specific command:</h2>",true,true);
		self::writeLine("  php ".self::$self." --help --command",true);
		
		self::writeLine("");
		
	}
public static function writeHelp ( ) { /*
		
		The generic help follows this format:
		
		Pattern Lab Console Options
		
		Usage:
		  php core/console command [options]
		
		Available commands:
		  --build   (-b)    Build Pattern Lab
		  --watch   (-w)    Build Pattern Lab and watch for changes and rebuild as necessary
		  --version (-v)    Display the version number
		  --help    (-h)    Display this help message.
		
		*/ // find length of longest command $ lengthLong = 0 ; foreach ( self :: $ commands as $ command => $ attributes ) { $ lengthLong = ( $ attributes [ "commandLongLength" ] > $ lengthLong ) ? $ attributes [ "commandLongLength" ] : $ lengthLong ; } // write out the generic usage info self :: writeLine ( "" ) ; self :: writeLine ( "<h1>Pattern Lab Console Options</h1>" , true , true ) ; self :: writeLine ( "<h2>Usage</h2>:" , true , true ) ; self :: writeLine ( "  php " . self :: $ self . " command <optional>[options]</optional>" , true , true ) ; self :: writeLine ( "<h2>Available commands</h2>:" , true , true ) ; // write out the commands foreach ( self :: $ commands as $ command => $ attributes ) { $ spacer = self :: getSpacer ( $ lengthLong , $ attributes [ "commandLongLength" ] ) ; self :: writeLine ( "  --" . $ attributes [ "commandLong" ] . $ spacer . "  <desc>" . $ attributes [ "commandDesc" ] . "</desc>" , true ) ; } // write out how to get more help self :: writeLine ( "" ) ; self :: writeLine ( "<h2>Get options for a specific command:</h2>" , true , true ) ; self :: writeLine ( "  php " . self :: $ self . " --help --command" , true ) ; self :: writeLine ( "" ) ; }
Write out the generic help
Write out the generic help