setDescription('Remove all event data'); $this->setHelp('All events and associated data will be removed.'); } protected function execute(InputInterface $input, OutputInterface $output) { Bootstrap::initializeBackendAuthentication(); GeneralUtility::makeInstance(ObjectManager::class) ->get(CleanupService::class) ->deleteAllData(); return 0; } }