digipolisgent/robo-drupal-console

Drupal Console CommandStack for Robo Task Runner

Installs: 14 727

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 3

Forks: 0

Type:robo-tasks

0.1.2 2019-08-13 07:01 UTC

This package is auto-updated.

Last update: 2024-04-13 17:13:50 UTC


README

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