/** * Init input definitions * * @return $this */ protected function configureInput() { parent::configureInput(); $this->addOption('hook', null, InputOption::VALUE_REQUIRED, $this->getCustomHookOptionDescription()); foreach ($this->getAvailableHooks() as $hook) { $this->addOption($hook, null, InputOption::VALUE_NONE, $this->getHookOptionDescription($hook)); } return $this; }
/** * Init input definitions * * @return $this */ protected function configureInput() { AbstractCommand::configureInput(); $this->setUnsetOption(); $this->setScopeOptions(); $this->addArgument('key', InputArgument::OPTIONAL, 'Configuration key.'); $this->addArgument('value', InputArgument::OPTIONAL, 'Configuration value.'); return $this; }
/** * Init input definitions * * @return $this */ protected function configureInput() { parent::configureInput(); $this->addArgument('key', InputArgument::REQUIRED); $this->addArgument('value', InputArgument::OPTIONAL); $this->setUnsetOption(); $this->setSetOption(); /** * When this parameter set key must be an XML path */ $this->addOption('xpath', '-x', InputOption::VALUE_NONE, 'XPath mode. "key" parameter will be considered as an XML path.'); $this->setScopeOptions(); foreach ($this->trackerConnectionOptions as $name) { $this->addOption($name, null, InputOption::VALUE_OPTIONAL, "Tracker connection '{$name}' option."); } return $this; }
/** * Skip input definitions * * @return $this */ protected function configureInput() { AbstractCommand::configureInput(); $this->addArgument('validator', InputArgument::REQUIRED, 'Validator name.'); $this->addOption('enable', null, InputOption::VALUE_NONE, 'Enable validator back.'); return $this; }
/** * Skip input definitions * * @return $this */ protected function configureInput() { AbstractCommand::configureInput(); $this->addOption('unique', '-u', InputOption::VALUE_NONE, 'Show validators by file types with status.'); return $this; }
/** * Init input definitions * * @return $this */ protected function configureInput() { $this->addOption('issues', 'i', InputOption::VALUE_NONE, 'Clear cache for issues/tasks requests (uses for commit messages).'); $this->addOption('config', 'c', InputOption::VALUE_NONE, 'Clear cache of config files (all XML ones).'); parent::configureInput(); return $this; }
/** * Init input definitions * * @return $this */ protected function configureInput() { AbstractCommand::configureInput(); return $this; }
/** * Init input definitions * * @return $this */ protected function configureInput() { parent::configureInput(); $this->addArgument('path', InputArgument::OPTIONAL, 'Path to file/directory which should be tested.'); return $this; }
/** * Skip input definitions * * @return $this */ protected function configureInput() { AbstractCommand::configureInput(); $this->addOption('show', 's', InputOption::VALUE_NONE, 'Show validator names which will be omitted.'); $this->addOption('code', 'c', InputOption::VALUE_NONE, 'Ignore code validation.'); $this->addOption('protection', 't', InputOption::VALUE_NONE, 'Ignore file protection.'); $this->addOption('all', 'f', InputOption::VALUE_NONE, 'Ignore all validators.'); $this->addOption('disable', 'r', InputOption::VALUE_NONE, 'Disable ignoring of the next commit (return to normal mode).'); return $this; }
/** * Init input definitions * * @return $this */ protected function configureInput() { AbstractCommand::configureInput(); $this->addArgument('value', InputArgument::OPTIONAL); $this->addOption('info', 'i', InputOption::VALUE_NONE, 'Show detailed information about an issue.'); return $this; }