protected function configure() { parent::configure(); $this->setName('config:vhost')->setDescription('Configure the apache vhost for this project')->addArgument('name', InputArgument::REQUIRED, 'Project name')->addArgument('dev-user', InputArgument::OPTIONAL, 'Development username')->addArgument('www-root', InputArgument::OPTIONAL, 'www root dir to use (defaults to current project/web)')->addOption('overwrite', 'o', InputOption::VALUE_NONE, 'Overwrite existing config')->addOption('fix-permissions', null, InputOption::VALUE_NONE, 'Fix file and dir permissions')->addOption('no-acl', null, InputOption::VALUE_NONE, 'Do not set ACL dir permissions'); }
protected function configure() { parent::configure(); $this->addOption('target', 't', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'The host from config to use'); }