示例#1
0
 /**
  * Set list of tasks.
  *
  * @return void
  */
 protected function action()
 {
     $this->template->kohana_cli_tasks = CLI_Task_Info::get_list();
 }
示例#2
0
 /**
  * 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);
 }