Ejemplo n.º 1
0
 /**
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::COMMAND_NAME);
     $this->setDescription(self::DESCRIPTION);
     $this->addOption('role', 'r', InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, 'Job roles to include on this host', []);
     parent::configure();
 }
Ejemplo n.º 2
0
 /**
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::COMMAND_NAME);
     $this->setDescription(self::DESCRIPTION);
     $this->addOption(self::OPTION_NO_DIFF, self::OPTION_NO_DIFF_SHORTCUT, InputOption::VALUE_NONE, self::OPTION_NO_DIFF_DESCRIPTION);
     parent::configure();
 }
Ejemplo n.º 3
0
 /**
  * @return void
  */
 protected function configure()
 {
     parent::configure();
     $this->setName(self::COMMAND_NAME)->setHelp('<info>' . self::COMMAND_NAME . ' -h</info>')->setDescription('Create bridge and facade interface');
     $this->addArgument(self::OPTION_BUNDLE, InputArgument::REQUIRED, 'Name of core bundle where the bridge should be created in');
     $this->addArgument(self::OPTION_TO_BUNDLE, InputArgument::REQUIRED, 'Name of core bundle to which the bundle must be connected to');
 }
 /**
  * @return void
  */
 protected function configure()
 {
     parent::configure();
     $this->setName(self::COMMAND_NAME)->setHelp('<info>' . self::COMMAND_NAME . ' -h</info>')->setDescription('Run PHPMD for project or core');
     $this->addOption(self::OPTION_BUNDLE, 'b', InputOption::VALUE_OPTIONAL, 'Name of core bundle to run PHPMD for (or "all")');
     $this->addOption(self::OPTION_FORMAT, 'f', InputOption::VALUE_OPTIONAL, 'Output format [text, xml, html]');
     $this->addOption(self::OPTION_DRY_RUN, 'd', InputOption::VALUE_NONE, 'Dry-Run the command, display it only');
 }
 /**
  * @return void
  */
 protected function configure()
 {
     parent::configure();
     $this->setName(self::COMMAND_NAME)->setHelp('<info>' . self::COMMAND_NAME . ' -h</info>')->setDescription('Build dependency tree');
     $this->addOption(self::OPTION_APPLICATION, 'a', InputOption::VALUE_OPTIONAL, 'Name of application to build the dependency tree (Client, Shared, Yves, Zed)');
     $this->addOption(self::OPTION_BUNDLE, 'b', InputOption::VALUE_OPTIONAL, 'Name of bundle to build the dependency tree');
     $this->addOption(self::OPTION_LAYER, 'l', InputOption::VALUE_OPTIONAL, 'Name of layer to build the dependency tree (only for Zed)');
 }
Ejemplo n.º 6
0
 /**
  * @return void
  */
 protected function configure()
 {
     parent::configure();
     $this->setName(self::COMMAND_NAME);
     $this->setDescription(self::DESCRIPTION);
     $this->addArgument(self::ARGUMENT_TOUCH_ACTION, InputArgument::REQUIRED, self::ARGUMENT_TOUCH_ACTION_DESCRIPTION);
     $this->addArgument(self::ARGUMENT_ID_ABSTRACT_PRODUCT, InputArgument::REQUIRED, self::ARGUMENT_ID_ABSTRACT_PRODUCT_DESCRIPTION);
 }
Ejemplo n.º 7
0
 /**
  * @return void
  */
 protected function configure()
 {
     parent::configure();
     $this->setName(self::COMMAND_NAME)->setHelp('<info>' . self::COMMAND_NAME . ' -h</info>')->setDescription('Run codecept tests for project or core');
     $this->addOption(self::OPTION_BUNDLE, 'b', InputOption::VALUE_OPTIONAL, 'Name of core bundle to run tests for (or "all")');
     $this->addOption(self::OPTION_GROUP, 'g', InputOption::VALUE_OPTIONAL, 'Groups of tests to be executed (multiple values allowed, comma separated)');
     $this->addOption(self::OPTION_TYPE_EXCLUDE, 'x', InputOption::VALUE_OPTIONAL, 'Types of tests to be skipped (e.g. Acceptance; multiple values allowed, comma separated)');
     $this->addOption(self::OPTION_INITIALIZE, 'i', InputOption::VALUE_NONE, 'Initialize test suite by (re)generating required test classes');
 }
 /**
  * @return void
  */
 protected function configure()
 {
     parent::configure();
     $this->setName(self::COMMAND_NAME)->setHelp('<info>' . self::COMMAND_NAME . ' -h</info>')->setDescription('Sniff and fix code style for project or core');
     $this->addOption(self::OPTION_BUNDLE, 'b', InputOption::VALUE_OPTIONAL, 'Name of core bundle to fix code style for (or "all")');
     $this->addOption(self::OPTION_SNIFFS, 's', InputOption::VALUE_OPTIONAL, 'Specific sniffs to run, comma separated list of codes');
     $this->addOption(self::OPTION_DRY_RUN, 'd', InputOption::VALUE_NONE, 'Dry-Run the command, display it only');
     $this->addOption(self::OPTION_FIX, 'f', InputOption::VALUE_NONE, 'Automatically fix errors that can be fixed');
     $this->addArgument(self::ARGUMENT_SUB_PATH, InputArgument::OPTIONAL, 'Optional path or sub path element for project level');
 }
Ejemplo n.º 9
0
 /**
  * @return void
  */
 protected function configure()
 {
     parent::configure();
     $this->setName(self::COMMAND_NAME);
     $this->setDescription(self::DESCRIPTION);
     $this->addArgument(self::ARGUMENT_APPLICATION_NAME, InputArgument::REQUIRED, self::ARGUMENT_APPLICATION_NAME_DESCRIPTION);
     $this->addArgument(self::ARGUMENT_USER, InputArgument::OPTIONAL, self::ARGUMENT_USER_DESCRIPTION);
     $this->addArgument(self::ARGUMENT_REVISION, InputArgument::OPTIONAL, self::ARGUMENT_REVISION_DESCRIPTION);
     $this->addArgument(self::ARGUMENT_DESCRIPTION, InputArgument::OPTIONAL, self::ARGUMENT_DESCRIPTION_DESCRIPTION);
     $this->addArgument(self::ARGUMENT_CHANGELOG, InputArgument::OPTIONAL, self::ARGUMENT_CHANGELOG_DESCRIPTION);
 }
Ejemplo n.º 10
0
 /**
  * @return void
  */
 protected function configure()
 {
     parent::configure();
     $this->setName(static::COMMAND_NAME)->setDescription(static::COMMAND_DESCRIPTION)->setHelp('<info>' . static::COMMAND_NAME . ' -h</info>');
     $this->addOption(static::OPTION_BUNDLE, 'b', InputOption::VALUE_OPTIONAL, 'Name of core bundle to run validation for (defaults to all)');
 }
Ejemplo n.º 11
0
 /**
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::COMMAND_NAME);
     $this->setDescription('Build SQL with Propel2');
     parent::configure();
 }
Ejemplo n.º 12
0
 /**
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::COMMAND_NAME);
     $this->setDescription('Copy schema files from packages to generated folder');
     parent::configure();
 }
 /**
  * @return void
  */
 protected function configure()
 {
     parent::configure();
     $this->setName(self::COMMAND_NAME)->setHelp('<info>' . self::COMMAND_NAME . ' -h</info>')->setDescription('Find dependency violations in the dependency tree');
 }
Ejemplo n.º 14
0
 /**
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::COMMAND_NAME);
     $this->setDescription('Insert generated SQL into database');
     parent::configure();
 }
Ejemplo n.º 15
0
 /**
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::COMMAND_NAME);
     $this->setDescription(self::COMMAND_DESCRIPTION);
     parent::configure();
 }
Ejemplo n.º 16
0
 /**
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::COMMAND_NAME);
     $this->setDescription('Generate diff for Propel2');
     parent::configure();
 }
Ejemplo n.º 17
0
 /**
  * @return AbstractQueryContainer
  */
 public function getQueryContainer()
 {
     return parent::getQueryContainer();
 }
Ejemplo n.º 18
0
 /**
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::COMMAND_NAME);
     $this->setDescription('Write Propel2 configuration');
     parent::configure();
 }
Ejemplo n.º 19
0
 /**
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::COMMAND_NAME);
     $this->setDescription('Create database if it does not already exist');
     parent::configure();
 }
 /**
  * @return void
  */
 protected function configure()
 {
     parent::configure();
     $this->setName(self::COMMAND_NAME)->setHelp('<info>' . self::COMMAND_NAME . ' -h</info>')->setDescription('Update composer.json of core bundles');
     $this->addOption(self::OPTION_BUNDLE, 'b', InputOption::VALUE_OPTIONAL, 'Name of core bundle (comma separated for multiple ones)');
 }
Ejemplo n.º 21
0
 /**
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::COMMAND_NAME);
     $this->setDescription('Migrate database');
     parent::configure();
 }
 /**
  * @return void
  */
 protected function configure()
 {
     $this->setName(self::COMMAND_NAME);
     $this->setDescription('Adjust Propel-XML schema files to work with PostgreSQL');
     parent::configure();
 }
Ejemplo n.º 23
0
 /**
  * @return void
  */
 protected function configure()
 {
     parent::configure();
     $this->setName(static::COMMAND_NAME)->setDescription(static::COMMAND_DESCRIPTION)->setHelp('<info>' . static::COMMAND_NAME . ' -h</info>');
 }