[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

FloeDesignTechnologies/robo-pantheon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robo Panthon Extension

CircleCI

Robo tasks and helpers for Pantheon projects.

Installation

composer require floe/robo-pantheon

Usage

Use the trait in your RoboFile:

class RoboFile extends \Robo\Tasks {
    use \Floe\Robo\Pantheon\loadTasks;
}

Run Terminus command

// terminus command:subcommand:subcommand param1 param2 --option1=value --option2
$this->taskTerminus('art')
  ->param('param1');
  ->param('param2');
  ->option('option1', 'value')
  ->option('option2')
  ->run();
    
    
// terminus command:subcommand:subcommand param1 param2 --option1=value --option2
$this->taskTerminus('command:subcommand:subcommand')
  ->params('param1', 'param2')
  ->options([
    'option1' => 'value',
    'option2' => true
  ])
  ->run()

// terminus command:subcommand:subcommand param1 param2 --option1=value --option2
$this->_terminus('command:subcommand:subcommand', ['param1', 'param2'], ['option1' => 'value', 'option2' => true]);

Run a stack of terminus commands

// terminus command:subcommand:subcommand param1 param2 --option1=value --option2 &&
// terminus command:subcommand:subcommand param1 param2 --option1=value --option2
$this->taskTerminusStack()
  ->exec('command:subcommand:subcommand', ['param1', 'param2'], ['option1' => 'value', 'option2' => true])
  ->commandSubcommandSubcommand(['param1', 'param2'], ['option1' => 'value', 'option2' => true])
  ->run()

About

Robo 🤖 tasks and helpers for Pantheon ⚡ projects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages