setName('mautic:plugins:reload') ->setAliases( [ 'mautic:plugins:install', 'mautic:plugins:update', ] ); parent::configure(); } protected function execute(InputInterface $input, OutputInterface $output): int { $output->writeLn($this->reloadFacade->reloadPlugins()); return Command::SUCCESS; } protected static $defaultDescription = 'Installs, updates, enable and/or disable plugins.'; }