/** * @inheritdoc */ protected function interact(InputInterface $input, OutputInterface $output) { parent::interact($input, $output); $module = new Module($input->getArgument('module')); if (in_array($this->getName(), ['module:register', 'module:unregister']) && $module->isThirdParty() && !$input->getOption('confirm-thirdparty')) { $output->writeln($module->isThirdParty() . ' is not a kernel module. Correct operation cannot be guaranteed for third-party modules!'); } }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('search:reindex')->setDescription('Rebuild search index')->addOption('full', 'f', InputOption::VALUE_NONE, 'Clears existing index (otherwise only changed entries would be indexed)'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('agent:on-cron')->setDescription('Installation configurations for run Agents on cron'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('agent:execute')->setDescription('Execution of tasks from agents queue'); }