Drush CommandStack for Robo Task Runner

Installs: 314 734

Dependents: 8

Suggesters: 0

Security: 0

Stars: 23

Watchers: 6

Forks: 18

Open Issues: 5


4.2.0 2018-12-11 14:42 UTC

This package is not auto-updated.

Last update: 2022-11-24 07:01:57 UTC


Extension to execute Drush commands in Robo.

SensioLabsInsight Build Status Latest Stable Version Total Downloads Latest Unstable Version License

Runs Drush commands in stack. You can define global options for all commands (like Drupal root and uri).

The option -y assumed by default but can be overridden on calls to exec() by passing false as the second parameter.

Table of contents


For new projects (and Robo >= 1.0.0-RC1), just do:

composer require --dev boedah/robo-drush

For older versions of Robo, use:

  • ~1.0: Robo <= 0.4.5
  • ~2.1: Robo >= 0.5.2


composer test


Use the trait (according to your used version) in your RoboFile:

class RoboFile extends \Robo\Tasks
    // if you use robo-drush ~2.1 for Robo >=0.5.2, or robo-drush >3 for Robo >=1.0.0-RC1
    use \Boedah\Robo\Task\Drush\loadTasks;

    // if you use ~1.0 for Robo ~0.4
    use \Boedah\Robo\Task\Drush;


Site update

This executes pending database updates and reverts all features (from code to database):


Site install

  ->siteName('Site Name')