joestewart / robo-drupalvm
Drupal VM tasks Robo Task Runner
Installs: 96 007
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:robo-tasks
Requires
- php: >=5.5.0
- consolidation/robo: ^1.4.11 || ^2 || ^3 || ^4 || ^5
- symfony/yaml: ~2.8|~3.0|~4.0|~5.0|~6.0|~7.0
Requires (Dev)
- phpunit/phpunit: >=4.4
This package is auto-updated.
Last update: 2024-11-07 20:04:28 UTC
README
Drupal VM tasks for Robo Task Runner
This package provides Robo tasks for the following:
vm:init - Optionally populates the delegating Vagrantfile and/or config/config.yml.
##Installation
composer require joestewart/robo-drupalvm
##Usage
<?php
class RoboFile extends \Robo\Tasks
{
use \JoeStewart\RoboDrupalVM\Task\loadTasks;
...
?>
##Example
public function vmInit()
{
$result = $this->taskVmInit()
->configFile()
->vagrantFile()
->run();
return $result;
}
Predefined Commands
<?php
class RoboFile extends \Robo\Tasks
{
use \JoeStewart\RoboDrupalVM\Task\loadTasks;
use \JoeStewart\RoboDrupalVM\Command\Vm;
...
?>
Now list the avaliable commands using
./vendor/bin/robo list
##Credit
Thanks to Robo.li, greg-1-anderson and boedah for example robo code.