simonw / csv-diff

Python CLI tool and library for diffing CSV and JSON files
Apache License 2.0
292 stars 47 forks source link

Feature: output diff as a csv #39

Open boxydog opened 1 week ago

boxydog commented 1 week ago

I like csv (actually usually tsv) files because they are easy to process with command-line tools.

If this diff tool outputted the diffs as a csv, then I could easily use command line tools on the diff.

It wouldn't have to have the same number of lines or format as the original. It could even be in normalized form, such as:

key1 field1-name field1-value field2-value key1 field2-name field1-value field2-value ...