getColoredString() getColoredString( $string, null $foreground_color, null $background_color) : string Returns colored string Parameters $string null $foreground_color null $background_color Returns string
beforeExecuteRoute() beforeExecuteRoute() : boolean Sets available actions with options Validates command line arguments and options for command Stops dispatching when detects help option Returns boolean
getOption() getOption( $name, null $default) : mixed Get option value for action from command line Parameters $name null $default Throws \Vegas\Cli\Task\Exception\MissingArgumentException Returns mixed
addTaskAction() addTaskAction(\Vegas\Cli\Task\Action $action) : $this Adds available action for current Task Parameters \Vegas\Cli\Task\Action $action Returns $this