public function setupOptions()
    {
        $action = new Action('publish', 'Publish all assets');

        $dir = new Option('dir', 'd', 'Assets directory. Usage vegas:assets publish -d /path/to/assets');
        $action->addOption($dir);
        $this->addTaskAction($action);
    }
public function setupOptions()
    {
        $action = new Action('publish', 'Publish all assets');

        $dir = new Option('dir', 'd', 'Assets directory. Usage vegas:assets publish -d /path/to/assets');
        $action->addOption($dir);
        $this->addTaskAction($action);
    }
public function setupOptions ( ) { $ action = new Action ( 'publish' , 'Publish all assets' ) ; $ dir = new Option ( 'dir' , 'd' , 'Assets directory. Usage vegas:assets publish -d /path/to/assets' ) ; $ action -> addOption ( $ dir ) ; $ this -> addTaskAction ( $ action ) ; }
Task's available options

@return mixed
Task s available options