Extension to execute Drupal Console commands in Robo.
Created based on Robo DrushStack. Runs Drupal Console commands in stack. You can define global options for all commands (like Drupal root and uri).
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
Use the trait (according to your used version) in your RoboFile:
class RoboFile extends \Robo\Tasks
{
use DigipolisGent\Robo\Task\DrupalConsole\loadTasks;
}
composer test
This executes pending database updates and reverts all features (from code to database):