示例#1
0
 protected function configure()
 {
     parent::configure();
     $this->setName('hs:ccd:import')->addArgument('folder', InputArgument::REQUIRED, 'Import folder name')->addArgument('env', InputArgument::REQUIRED, 'Environment name. SubEnvs separated by slash e.g.: development/osx/developer01')->addOption('base', null, InputOption::VALUE_OPTIONAL, 'Base folder name', 'base')->setDescription('HarrisStreet: Import and update Core_Config_Data settings for an environment');
 }
示例#2
0
 protected function configure()
 {
     parent::configure();
     $this->setName('hs:ccd:export')->addOption('filename', 'f', InputOption::VALUE_OPTIONAL, 'File name into which should the export be written. Defaults into var directory.')->addOption('include', 'i', InputOption::VALUE_OPTIONAL, 'Path prefix, multiple values can be comma separated; exports only those paths')->addOption('includeScope', null, InputOption::VALUE_OPTIONAL, 'Scope name, multiple values can be comma separated; exports only those scopes')->addOption('exclude', 'x', InputOption::VALUE_OPTIONAL, 'Path prefix, multiple values can be comma separated; exports everything except ...')->addOption('filePerNameSpace', 's', InputOption::VALUE_OPTIONAL, 'Export each namespace into its own file. Enable with: y', 'n')->addOption('exclude-default', 'c', InputOption::VALUE_OPTIONAL, 'Excludes default values (@todo)')->setDescription('HarrisStreet: Exports Core_Config_Data settings into a file.');
 }