protected function execute(InputInterface $input, OutputInterface $output) { $pluginsManager = $this->getApplication()->getKernel()->getContainer()->getService('newscoop.plugins.manager'); $name = $input->getArgument('name'); $pluginsManager->removePlugin($name, $output); }