protected function configure() { parent::configure(); $this->setName('find')->setDescription('Find silverstripe sites on your hdd')->addArgument('path', InputArgument::REQUIRED, 'Path where the script should start searching recursively')->addOption('skip-known-paths', 's', InputOption::VALUE_NONE, 'Skip all paths which are already in your selim config'); }
protected function configure() { parent::configure(); $this->setName('security')->setDescription('check security of a site')->addArgument('name', InputArgument::REQUIRED, 'Identifier for your Site'); }
protected function configure() { parent::configure(); $this->setName('add')->setDescription('Add a Site')->addArgument('name', InputArgument::REQUIRED, 'Identifier for your Site')->addArgument('path', InputArgument::REQUIRED, 'Path to the project/mysite folder.'); }
protected function configure() { parent::configure(); $this->setName('rm')->setDescription('Remove a Site')->addArgument('name', InputArgument::REQUIRED, 'Identifier for your Site'); }
protected function configure() { parent::configure(); $this->setName('start')->setDescription('Analyze all sites added.')->addOption('filter-name', null, InputOption::VALUE_REQUIRED, 'regex, filter sites by name')->addOption('filter-version', null, InputOption::VALUE_REQUIRED, 'regex, filter sites by version')->addOption('filter-module', null, InputOption::VALUE_REQUIRED, 'regex, filter sites by installed modules')->addOption('format', null, InputOption::VALUE_REQUIRED, 'Define a output format.')->addOption('table', null, InputOption::VALUE_NONE, 'Print all sites as a table')->addOption('filter-da', null, InputOption::VALUE_NONE, 'regex, filter sites where Security::setDefaultAdmin() is used in config.php')->addOption('filter-env', null, InputOption::VALUE_REQUIRED, 'regex, filter sites by environment type'); }