protected function fire()
{
$this->init();
$prerequisites = $this->getPrerequisites();
$prerequisites->check();
$errors = $prerequisites->getErrors();
if (empty($errors)) {
$this->info('Installing Flarum...');
$this->install();
$this->info('DONE.');
} else {
$this->output->writeln('<error>Please fix the following errors before we can continue with the installation.</error>');
$this->showErrors($errors);
}
}