Drush CommandStack for Robo Task Runner

2.2.1 2015-11-27 22:38 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



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

Add "boedah/robo-drush": "~2.1" to your composer.json:

        "require-dev": {
            "boedah/robo-drush": "~2.1"

Execute composer update.


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

class RoboFile extends \Robo\Tasks
    // if you use ~2.1 for Robo >=0.5.2
    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')