Ejemplo n.º 1
0
 public function runDefault()
 {
     $helpCommand = new Commands\Help();
     foreach ($this->detectAvailableTasks() as $section => $tasks) {
         if (!$helpCommand->hasSection($section)) {
             $helpCommand->addSection($section);
         }
         $helpCommand->setSectionTasks($section, $tasks);
     }
     $helpCommand->execute();
 }