Exemplo n.º 1
0
 protected function configure()
 {
     $this->setName('export');
     $this->addArgument('directory', InputArgument::OPTIONAL, 'Export root directory', Git::getWorkingPath(Berk::EXPORT_DIRECTORY));
     $this->addOption('from', 'f', InputOption::VALUE_REQUIRED, 'Export will start from this revision');
     $this->addOption('to', 't', InputOption::VALUE_REQUIRED, 'Export will end at this revision');
     $this->addOption('uncommited', 'u', InputOption::VALUE_NONE, 'Export will include uncommited files');
     $this->addOption('zip', 'z', InputOption::VALUE_NONE, 'Zip export');
 }