original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Show the names and descriptions of all commands set on the application at this moment.
  
  @return $this
docstring_tokens: Show the names and descriptions of all commands set on the application at this moment .