https://github.com/district09/robo-drupal-console
Drupal Console CommandStack for Robo Task Runner
https://github.com/district09/robo-drupal-console
d09check22 drupal drupal-console robo robo-drupal-console web
Last synced: 12 months ago
JSON representation
Drupal Console CommandStack for Robo Task Runner
- Host: GitHub
- URL: https://github.com/district09/robo-drupal-console
- Owner: district09
- License: mit
- Created: 2016-12-13T11:40:06.000Z (over 9 years ago)
- Default Branch: develop
- Last Pushed: 2019-08-13T07:10:43.000Z (over 6 years ago)
- Last Synced: 2024-05-22T06:11:24.922Z (almost 2 years ago)
- Topics: d09check22, drupal, drupal-console, robo, robo-drupal-console, web
- Language: PHP
- Homepage:
- Size: 85 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Robo Drupal Console Extension
Extension to execute Drupal Console commands in [Robo](http://robo.li/).
[](https://packagist.org/packages/digipolisgent/robo-drupal-console)
[](https://packagist.org/packages/digipolisgent/robo-drupal-console)
[](https://packagist.org/packages/digipolisgent/robo-drupal-console)
[](https://packagist.org/packages/digipolisgent/robo-drupal-console)
[](https://travis-ci.org/digipolisgent/robo-drupal-console)
[](https://codeclimate.com/github/digipolisgent/robo-drupal-console/maintainability)
[](https://codeclimate.com/github/digipolisgent/robo-drupal-console/test_coverage)
[](https://travis-ci.org/digipolisgent/robo-drupal-console)
Created based on [Robo DrushStack](https://github.com/boedah/robo-drush). Runs
Drupal Console commands in stack. You can define global options for all
commands (like Drupal root and uri).
## Table of contents
- [Installation](#installation)
- [Usage](#usage)
- [Testing](#testing)
- [Examples](#examples)
## Installation
Add `"digipolisgent/robo-drupal-console": "~0.1"` to your composer.json:
```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:
```php
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