digipolisgent / robo-drupal-console
Drupal Console CommandStack for Robo Task Runner
Installs: 14 751
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 3
Forks: 0
Open Issues: 2
Type:robo-tasks
Requires
- php: >=5.5.0
- consolidation/robo: ~1.0
- drupal/console: ~1.0
Requires (Dev)
- phpunit/phpunit: ~4.4
This package is auto-updated.
Last update: 2024-12-13 18:38:55 UTC
README
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).
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):