src/Console/Seed.php
public function handle()
    {
        $updateFiles = $this->input->getOption('update-files');
        $refresh = $this->input->getOption('refresh');
        $table = $this->input->getOption('table');

        if (isset($table)) {
            foreach ($this->files as $name => $file) {
                if ($file['table'] == $table) {
                    $this->downloadFile($name, $updateFiles);
                    $this->parseGeonamesText($name, $refresh);
                    return;
                }
            }
            $this->line('<error>Table Not Found: </error> Table '.$table.'not found in configuration');
            return;
        } else {
            $this->downloadAllFiles($updateFiles);
            // Check if we have all the tables
            foreach ($this->getFilesArray() as $name => $file) {
                if (Schema::hasTable($file['table'])) {
                    $this->parseGeonamesText($name, $refresh);
                } else {
                    throw new RuntimeException($file['table'] . ' table not found. Did you run geoname:install then run migrate ?');
                }
            }
        }
        $this->line('<info>Finished : </info> Requested actions has been completed!');
    }
public function handle()
    {
        $updateFiles = $this->input->getOption('update-files');
        $refresh = $this->input->getOption('refresh');
        $table = $this->input->getOption('table');

        if (isset($table)) {
            foreach ($this->files as $name => $file) {
                if ($file['table'] == $table) {
                    $this->downloadFile($name, $updateFiles);
                    $this->parseGeonamesText($name, $refresh);
                    return;
                }
            }
            $this->line('<error>Table Not Found: </error> Table '.$table.'not found in configuration');
            return;
        } else {
            $this->downloadAllFiles($updateFiles);
            // Check if we have all the tables
            foreach ($this->getFilesArray() as $name => $file) {
                if (Schema::hasTable($file['table'])) {
                    $this->parseGeonamesText($name, $refresh);
                } else {
                    throw new RuntimeException($file['table'] . ' table not found. Did you run geoname:install then run migrate ?');
                }
            }
        }
        $this->line('<info>Finished : </info> Requested actions has been completed!');
    }
Execute the console command.

@throws RuntimeException;
@return mixed