setName("bake") ->setDescription("UserFrosting installation command") ->setHelp("This command combine the debug, migrate and build-assets commands."); } /** * {@inheritDoc} */ protected function execute(InputInterface $input, OutputInterface $output) { $this->io->writeln("{$this->title}"); $command = $this->getApplication()->find('setup'); $command->run($input, $output); $command = $this->getApplication()->find('debug'); $command->run($input, $output); $command = $this->getApplication()->find('migrate'); $command->run($input, $output); $command = $this->getApplication()->find('create-admin'); $command->run($input, $output); $command = $this->getApplication()->find('build-assets'); $command->run($input, $output); $command = $this->getApplication()->find('clear-cache'); $command->run($input, $output); } }