Packages
chercheville
0.2.0
Service allowing to search cities based on data from GeoNames
Retired package: Deprecated - No longer maintained
Current section
Files
Jump to
Current section
Files
lib/mix/fetch_data.ex
defmodule Mix.Tasks.Chercheville.FetchData do
@moduledoc """
Mix task for fetching data files from geonames.
"""
use Mix.Task
@shortdoc "Fetch data files from geonames.org"
def run(country_codes), do: ChercheVille.SeedData.fetch_data(country_codes)
end