No description
Find a file
2025-06-21 09:27:51 -04:00
src add sample, minimum viable product, add README.md 2025-06-21 09:27:51 -04:00
.gitignore add sample, minimum viable product, add README.md 2025-06-21 09:27:51 -04:00
Cargo.lock add sample, minimum viable product, add README.md 2025-06-21 09:27:51 -04:00
Cargo.toml add sample, minimum viable product, add README.md 2025-06-21 09:27:51 -04:00
flake.lock api requests made, repl form 2025-06-21 06:04:44 -04:00
flake.nix api requests made, repl form 2025-06-21 06:04:44 -04:00
games.csv api requests made, repl form 2025-06-21 06:04:44 -04:00
package.nix api requests made, repl form 2025-06-21 06:04:44 -04:00
README.md add sample, minimum viable product, add README.md 2025-06-21 09:27:51 -04:00
sample_in.csv add sample, minimum viable product, add README.md 2025-06-21 09:27:51 -04:00
sample_out.csv add sample, minimum viable product, add README.md 2025-06-21 09:27:51 -04:00

Rust Elaborator

This program serves to take a list of boardgames as a csv and return a csv with more data about them.

Building

Clone the git repo locally

git clone https://git.mtgmonkey.net/Andromeda/rust-elaborator.git cd rust-elaborator

Run the sample

cat sample_in.csv | nix run

the output out.csv should match the provided sample_out.csv

Usage

The program reads a csv from stdin and outputs it to out.csv. The following command reads the contents of in.csv into the program and runs it.

cat in.csv | rust_elaborator

in.csv must be formatted as follows...

title
Monopoly
Abomination
7 Wonders
Uno

...in excel or as follows...

title,
Monopoly,
Abomination,
7 Wonders,
Uno,

...as plaintext

where title can be anything. Capitalization does not matter. Additional columns will not be present in out.csv.