Skip to content

Convert the contents of a csv file into a text file containing an elixir map.

Notifications You must be signed in to change notification settings

stagerightlabs/csv_to_elixir_map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSV to Elixir Map Array

I recently found myself creating a handful of large static maps in Elixir using data from CSV files. I wrote this tool to automate the conversion for me. The goal was to be able to paste the output directly into a seeder.exs file.

Setup

git clone [email protected]:stagerightlabs/csv_to_elixir_map.git
cd csv_to_elixir_map
cargo build

Usage

csvmap path/to/file.csv output_file.txt

Credits

About

Convert the contents of a csv file into a text file containing an elixir map.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages