https://gist.github.com/f2r/2f1e1fa27186ac670c21d8a0303aabf1
./csv2json <path/to/file.csv> [--pretty] [--fields "field1;field2;..."] [--aggregate field] [--desc path/to/desc/file.ini]
- No guess on delimiter yet, only works with
;
! - Overkill OO implementation inspired by https://www.elegantobjects.org/
- pretty json
- desc
- fields
- aggregate
- guess csv delimiter
- fields argument delimiter
- test missing file argument
- test incorrect file (eg: rows too short)
- autoloader
IMPLEMENTATION=oo ./unit-test