confirmToProceed('This will DESTROY all database tables.')) return; $manager = UpdateManager::instance()->resetNotes()->uninstall(); foreach ($manager->getNotes() as $note) $this->output->writeln($note); } /** * Get the console command arguments. */ protected function getArguments() { return []; } /** * Get the console command options. */ protected function getOptions() { return [ ['force', null, InputOption::VALUE_NONE, 'Force the operation to run.'], ]; } /** * Get the default confirmation callback. * @return \Closure */ protected function getDefaultConfirmCallback() { return function() { return true; }; } }