public function run()
    {
        if ($this->app->getName()) {
            $this->output->writeln($this->app->getName());
            $this->output->newline();
        }

        $commandName = $this->parameter->getArgument('command_name');

        if ($this->parameter->getCommandName() === $this->name && $commandName) {
            $this->showCommandHelp($this->parameter->getArgument('command_name'));
        } else {
            $this->showGeneralHelp();
        }

        return $this;
    }
public function run()
    {
        if ($this->app->getName()) {
            $this->output->writeln($this->app->getName());
            $this->output->newline();
        }

        $commandName = $this->parameter->getArgument('command_name');

        if ($this->parameter->getCommandName() === $this->name && $commandName) {
            $this->showCommandHelp($this->parameter->getArgument('command_name'));
        } else {
            $this->showGeneralHelp();
        }

        return $this;
    }
public function run ( ) { if ( $ this -> app -> getName ( ) ) { $ this -> output -> writeln ( $ this -> app -> getName ( ) ) ; $ this -> output -> newline ( ) ; } $ commandName = $ this -> parameter -> getArgument ( 'command_name' ) ; if ( $ this -> parameter -> getCommandName ( ) === $ this -> name && $ commandName ) { $ this -> showCommandHelp ( $ this -> parameter -> getArgument ( 'command_name' ) ) ; } else { $ this -> showGeneralHelp ( ) ; } return $ this ; }
Show the names and descriptions of all commands set on the application at this moment.

@return $this
Show the names and descriptions of all commands set on the application at this moment .