DrushCommand
class DrushCommand extends Command (View source)
DrushCommand is a PsySH proxy command which accepts a Drush command config array and tries to build an appropriate PsySH command for it.
Methods
__construct(Command $command)
DrushCommand constructor.
string
getNamespace()
Get the namespace of this command.
void
configure()
{@inheritdoc}
int
execute(InputInterface $input, OutputInterface $output)
{@inheritdoc}
string
buildHelpFromCommand()
Build a command help from the Drush configuration array.
Details
__construct(Command $command)
DrushCommand constructor.
string
getNamespace()
Get the namespace of this command.
protected void
configure()
{@inheritdoc}
protected int
execute(InputInterface $input, OutputInterface $output)
{@inheritdoc}
protected string
buildHelpFromCommand()
Build a command help from the Drush configuration array.
Currently it's a word-wrapped description, plus any examples provided.
The help string.