private function askDatabase() { $providers = $this->databases->getAvailableProviders(); $formatted = implode(', ', $providers); $this->info("Available database connections: <comment>{$formatted}</comment>"); $database = $this->autocomplete("From which database connection you want to dump?", $providers); $this->input->setOption('database', $database); }