protected function configure() { parent::configure(); $this->setName('diff')->setDescription('Display differences between environment variable set')->addArgument('env1', InputArgument::REQUIRED, 'First environment to compare')->addArgument('env2', InputArgument::REQUIRED, 'Second environment to compare'); }
protected function configure() { parent::configure(); $this->setName('rollback')->setDescription('Restore files from backup ones')->addArgument('sourcePath', InputArgument::OPTIONAL, 'source path to hydrate')->addOption('dry-run', null, InputOption::VALUE_NONE, 'Simulation mode'); }
protected function configure() { parent::configure(); $this->setName('display')->setDescription('Display environment variable set')->addOption('env', 'e', InputOption::VALUE_REQUIRED, 'Target environment', self::ENV_DEV)->addOption('value', 'f', InputOption::VALUE_REQUIRED, 'Display only variable with this value', self::NO_FILTERING); }
protected function configure() { parent::configure(); $this->setName('vcs')->setDescription('')->addArgument('sourcePath', InputArgument::OPTIONAL, 'source path'); }
protected function configure() { parent::configure(); $this->setName($this->name)->setDescription($this->description)->addArgument('sourcePath', InputArgument::OPTIONAL | InputArgument::IS_ARRAY, 'source path to hydrate/generate')->addOption('env', 'e', InputOption::VALUE_REQUIRED, 'Target environment', self::ENV_DEV)->addOption('system', 's', InputOption::VALUE_REQUIRED, 'Target environment for system variables', null)->addOption('dry-run', null, InputOption::VALUE_NONE, 'Simulation mode')->addOption('backup', 'b', InputOption::VALUE_NONE, 'Backup overwritten files')->addOption('override', 'o', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Override variable values', array())->addOption('data', 'd', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Custom data values', array()); }