setName("ot:regen-config-files") ->setDescription("Recreate all of the website config files with the Db data"); } /** * -- This method is expected by Typo3, do not rename ou remove -- * * @param InputInterface $input * @param OutputInterface $output * @return int * @throws \Exception */ protected function execute(InputInterface $input, OutputInterface $output) { $io = new SymfonyStyle($input, $output); $this->siteController->regenConfigFilesAction(); $io->success(sprintf("The config files were recreated")); return 0; } }