Skip to content

district09/robo-drupal-console

Repository files navigation

Robo Drupal Console Extension

Extension to execute Drupal Console commands in Robo.

Latest Stable Version Latest Unstable Version Total Downloads License

Build Status Maintainability Test Coverage PHP 7 ready

Created based on Robo DrushStack. Runs Drupal Console commands in stack. You can define global options for all commands (like Drupal root and uri).

Table of contents

Installation

Add "digipolisgent/robo-drupal-console": "~0.1" to your composer.json:

    {
        "require-dev": {
            "digipolisgent/robo-drupal-console": "~0.1"
        }
    }

and execute composer update.

OR

Issue composer require --dev digipolisgent/robo-drupal-console:~0.1

Usage

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

class RoboFile extends \Robo\Tasks
{
    use DigipolisGent\Robo\Task\DrupalConsole\loadTasks;
}

Testing

composer test

Examples

Site update

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

Site install