public function run() { if ($helpCommand = Console::findCommandValue("h|help")) { $helpCommand = str_replace("-", "", $helpCommand); if ($commandFound = Console::findCommandLong($helpCommand)) { Console::writeHelpCommand($commandFound); } else { Console::writeHelp(); } } else { Console::writeHelp(); } }