Beispiel #1
0
 protected function executeCommand(nbCommand $command, $commandLine, $doit, $verbose)
 {
     if ($doit) {
         $parser = new nbCommandLineParser();
         $parser->setDefaultConfigurationDirs($this->getParser()->getDefaultConfigurationDirs());
         $command->run($parser, $commandLine);
     }
     if ($verbose) {
         $this->logLine(sprintf("%s %s\n", $command->getFullName(), $commandLine), nbLogger::COMMENT);
     }
 }