class DrushHelpCommand extends Command (View source)

Help command.

Lists available commands, and gives command-specific help when asked nicely.

This replaces the PsySH help command to list commands by category.

Constants

PSYSH_CATEGORY

Label for PsySH commands.

Properties

protected Command $command

The currently set subcommand.

Methods

void
configure()

{@inheritdoc}

void
setCommand(Command $command)

Helper for setting a subcommand to retrieve help for.

void
execute(InputInterface $input, OutputInterface $output)

{@inheritdoc}

Details

protected void configure()

{@inheritdoc}

Return Value

void

void setCommand(Command $command)

Helper for setting a subcommand to retrieve help for.

Parameters

Command $command

Return Value

void

protected void execute(InputInterface $input, OutputInterface $output)

{@inheritdoc}

Parameters

InputInterface $input
OutputInterface $output

Return Value

void