public function __construct()
 {
     parent::__construct();
     $this->command = "help:";
     Console::setCommand($this->command, "Print the help for a given command", "The help command prints out the help for a given flag. Just use -h with another command and it will tell you all of the options.", "h:");
     Console::setCommandSample($this->command, "To get help for a particular command:", "<command-name>");
 }
 public function __construct()
 {
     parent::__construct();
     $this->command = "server";
     Console::setCommand($this->command, "Start the PHP-based server", "The server command will start PHP's web server for you.", "s");
     Console::setCommandOption($this->command, "host:", "Provide a custom hostname. Default value is <path>localhost</path>.", "To use a custom hostname and the default port:", "", "<host>");
     Console::setCommandOption($this->command, "port:", "Provide a custom port. Default value is <path>8080</path>.", "To use a custom port and the default hostname:", "", "<port>");
     Console::setCommandSample($this->command, "To provide both a custom hostname and port:", "--host <host> --port <port>");
 }
 public function __construct()
 {
     parent::__construct();
     $this->command = "watch";
     Console::setCommand($this->command, "Watch for changes and regenerate", "The watch command builds Pattern Lab, watches for changes in <path>source/</path> and regenerates Pattern Lab when there are any.", "w");
     Console::setCommandOption($this->command, "patternsonly", "Watches only the patterns. Does NOT clean <path>public/</path>.", "To watch and generate only the patterns:", "p");
     Console::setCommandOption($this->command, "nocache", "Set the cacheBuster value to 0.", "To watch and turn off the cache buster:", "n");
     Console::setCommandOption($this->command, "sk", "Watch for changes to the StarterKit and copy to <path>source/</path>. The <info>--sk</info> flag should only be used if one is actively developing a StarterKit.", "To watch for changes to the StarterKit:");
     Console::setCommandSample($this->command, "To watch only patterns and turn off the cache buster:", "--patternsonly --nocache");
     //Console::setCommandOption($this->command,"autoreload","Turn on the auto-reload service.","To turn on auto-reload:","r");
 }
 public function __construct()
 {
     parent::__construct();
     $this->command = "server";
     Console::setCommand($this->command, "Start the PHP-based server", "The server command will start PHP's web server for you.", "s");
     Console::setCommandOption($this->command, "host:", "Provide a custom hostname. Default value is <path>localhost</path>.", "To use a custom hostname and the default port:", "", "<host>");
     Console::setCommandOption($this->command, "port:", "Provide a custom port. Default value is <path>8080</path>.", "To use a custom port and the default hostname:", "", "<port>");
     Console::setCommandOption($this->command, "quiet", "Turn on quiet mode for the server.", "To turn on quiet mode:");
     Console::setCommandOption($this->command, "with-watch", "Start watching ./source when starting the server. Takes the same arguments as --watch.", "To turn on with-watch mode:");
     Console::setCommandSample($this->command, "To provide both a custom hostname and port:", "--host <host> --port <port>");
 }
 public function __construct()
 {
     parent::__construct();
     $this->command = "watch";
     Console::setCommand($this->command, "Watch for changes and regenerate", "The watch command builds Pattern Lab, watches for changes in <path>source/</path> and regenerates Pattern Lab when there are any.", "w");
     Console::setCommandOption($this->command, "patternsonly", "Watches only the patterns. Does NOT clean <path>public/</path>.", "To watch and generate only the patterns:", "p");
     Console::setCommandOption($this->command, "nocache", "Set the cacheBuster value to 0.", "To watch and turn off the cache buster:", "n");
     Console::setCommandOption($this->command, "sk", "Watch for changes to the StarterKit and copy to <path>source/</path>. The <info>--sk</info> flag should only be used if one is actively developing a StarterKit.", "To watch for changes to the StarterKit:");
     Console::setCommandOption($this->command, "no-procs", "Disable plug-in related processes. For use with <info>--server --with-watch</info>.", "To disable plug-in related processes:");
     Console::setCommandSample($this->command, "To watch only patterns and turn off the cache buster:", "--patternsonly --nocache");
 }