protected function DrushHelpCommand::configure

8.0.x DrushHelpCommand.php protected DrushHelpCommand::configure()
master DrushHelpCommand.php protected DrushHelpCommand::configure()

File

lib/Drush/Psysh/DrushHelpCommand.php, line 41
Contains \Drush\Psysh\DrushCommand.

Namespace

Drush\Psysh

Class

DrushHelpCommand
Help command.

Code

protected function configure() {
  $this->setName('help')->setAliases(['?'])->setDefinition([new InputArgument('command_name', InputArgument::OPTIONAL, 'The command name', NULL)])->setDescription('Show a list of commands. Type `help [foo]` for information about [foo].');
}