protected function showCommandHelp($commandName)
    {
        $command = $this->app->getCommand($commandName);

        if (!$command) {
            $this->output->writeln("<red>Unknown command:</red> {$commandName}");
            return;
        }

        if ($command->getDescription()) {
            $this->output->writeln("<yellow>Description:</yellow>");
            $this->output->writeln("  {$command->getDescription()}");
            $this->output->newline();
        }

        $this->output->writeln("<yellow>Usage:</yellow>");
        $this->output->writeln("  {$command->getUsage()}");
    }
protected function showCommandHelp($commandName)
    {
        $command = $this->app->getCommand($commandName);

        if (!$command) {
            $this->output->writeln("<red>Unknown command:</red> {$commandName}");
            return;
        }

        if ($command->getDescription()) {
            $this->output->writeln("<yellow>Description:</yellow>");
            $this->output->writeln("  {$command->getDescription()}");
            $this->output->newline();
        }

        $this->output->writeln("<yellow>Usage:</yellow>");
        $this->output->writeln("  {$command->getUsage()}");
    }
protected function showCommandHelp ( $ commandName ) { $ command = $ this -> app -> getCommand ( $ commandName ) ; if ( ! $ command ) { $ this -> output -> writeln ( "<red>Unknown command:</red> {$commandName}" ) ; return ; } if ( $ command -> getDescription ( ) ) { $ this -> output -> writeln ( "<yellow>Description:</yellow>" ) ; $ this -> output -> writeln ( "  {$command->getDescription()}" ) ; $ this -> output -> newline ( ) ; } $ this -> output -> writeln ( "<yellow>Usage:</yellow>" ) ; $ this -> output -> writeln ( "  {$command->getUsage()}" ) ; }
Show the usage and description for a specific command.

@param string $commandName
Show the usage and description for a specific command .