2017 © Pedro Peláez
 

robo-tasks robo-lando

Lando extension for Robo Task Runner

image

thereference/robo-lando

Lando extension for Robo Task Runner

  • Thursday, October 12, 2017
  • by legovaer
  • Repository
  • 5 Watchers
  • 4 Stars
  • 70 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Robo Lando Extension

Extension to execute Lando commands in Robo., (*1)

SensioLabsInsight Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Runs Lando commands in stack. You can define global options for all commands (like Lando init)., (*3)

The option -y assumed by default but can be overridden on calls to exec() by passing false as the second parameter., (*4)

Table of contents

Installation

Versions

  • ~1.0: Robo >= 1.0.0-RC1

Add "thereference/robo-lando": "~1" to your composer.json:, (*5)

    {
        "require-dev": {
            "thereference/robo-lando": "~1"
        }
    }

Execute composer update., (*6)

Testing

composer test, (*7)

Usage

Use the trait (according to your used version) in your RoboFile:, (*8)

class RoboFile extends \Robo\Tasks
{
    // ~1 for Robo >=1.0.0-RC1
    use \TheReference\Robo\Task\Lando\loadTasks;

    //...
}

Examples

Show Configuration

$this->taskLandoConfig()
    ->run();

Destroy the infrastructure of an application

$this->taskLandoDestroy()
  ->application("myapp")
  ->run();

Get information about a Lando application

$this->taskLandoInfo()
  ->application("myapp")
  ->deep()
  ->run();

Initialize a new Lando application

$this->taskLandoInit()
  ->recipe("drupal8")
  ->webroot("./")
  ->run();

List the running Lando applications

$this->taskLandoList()
  ->run();
$this->taskLandoLogs()
  ->recipe("drupal8")
  ->webroot("./")
  ->run();

Shut down all running Lando containers

$this->taskLandoPoweroff()
  ->run();

Rebuild Lando containers and tools

$this->taskLandoRebuild()
  ->services(array("database", "appserver")
  ->run();

Stop and restart a Lando application

$this->taskLandoRestart()
  ->application("myapp")
  ->run();

Publicly expose a Lando URL

$this->taskLandoShare()
  ->url("http://localhost:32785")
  ->run();

Ssh into a specific service of a Lando application and execute a command

$this->taskLandoSsh()
  ->user("johndoe")
  ->command("ls -l /")
  ->run();

Start a Lando application

$this->taskLandoStart()
  ->application("myapp")
  ->run();

Stop a Lando application

$this->taskLandoStop()
  ->application("myapp")
  ->run();
$this->taskLandoVersion()
  ->run();

The Versions

12/10 2017

dev-master

9999999-dev

Lando extension for Robo Task Runner

  Sources   Download

MIT

The Requires

 

The Development Requires

by Levi Govaerts

12/10 2017

1.0.0

1.0.0.0

Lando extension for Robo Task Runner

  Sources   Download

MIT

The Requires

 

The Development Requires

by Levi Govaerts