Skip to content

Instantly share code, notes, and snippets.

@stefpe
Created September 18, 2018 21:31
Show Gist options
  • Save stefpe/5b588c6d9b73b0cebe227f18ea1eb4c6 to your computer and use it in GitHub Desktop.
Save stefpe/5b588c6d9b73b0cebe227f18ea1eb4c6 to your computer and use it in GitHub Desktop.
Robo basic start
<?php
/**
* This is project's console commands configuration for Robo task runner.
*
* @see http://robo.li/
*/
class RoboFile extends \Robo\Tasks
{
/**
* Shows how to start with robo.
*/
public function start()
{
$this->io()->title('start coding robo');
$this->io()->table([
'#', 'Description'
], [
['1.', 'Download robo.phar'],
['2.', 'Run php robo.phar init'],
['3.', 'Code your task as a function in Robofile.php']
]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment