/** * Set list of tasks. * * @return void */ protected function action() { $this->template->kohana_cli_tasks = CLI_Task_Info::get_list(); }
/** * Create and set description of CLI task class. * * @return void */ protected function action() { $info = CLI_Task_Info::get_info($this->options['name']); $this->template->set('kohana_cli_task', $info); }