mix ref_data.init (RefData v0.3.0)

Copy Markdown View Source

Creates priv/ref_data/ in the current project and prints the configuration needed to load it.

$ mix ref_data.init

An example dataset is added only when the directory contains no JSON files. Existing files are never changed, so the task is safe to run again.