' * ')); $this->writeln('Available commands:', Colors::BLACK | Colors::BOLD); foreach ($this->console->getCommands() as $name => $fqdn) { if ($fqdn !== __CLASS__) { $this->writeln($formater->format($name)); } } $scriptName = basename($_SERVER['SCRIPT_FILENAME']); $this->writeln("Use './$scriptName help command' for more info"); } else { $commandFQDN = $this->console->getCommand($args[0]); $help = Help::fromFQDN($commandFQDN, Utils::get($args, 1)); $this->writeln($help); } } }