Skip to content

Commit a9f9570

Browse files
authored
Update README.md
1 parent e6de343 commit a9f9570

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,18 @@ If the columns in the CSV have changed, those added or removed columns will be i
141141
Compare the differences between two CSV or JSON files to find differences.
142142

143143
Options:
144-
--format TEXT Explicitly specify input format. Available (csv|tsv|json) [default: auto-detect based on file extension]
145-
--encoding TEXT Input File Encoding. Available: (utf-8|utf-16|utf-16le|utf-16be|latin1|cp1252|ascii|...) [default: utf-8]
146-
--key TEXT Column to use as a unique ID for each row (ex: --key=Id) [default: first column if not specified]
147-
--output TEXT Output format. Available: (readable|json|jsonfile) [default: readable]
148-
--outputfile FILE File to write JSON output to (only used with --output=jsonfile)
149-
--showunchanged If a record is changed, show ALL fields, not just the changed fields.
150-
--time Measure and display elapsed time for the diff operation
151-
--version Show the version and exit.
152-
-h, --help Show this message and exit.
144+
--key TEXT Column to use as a unique ID for each row (ex: --key=Id). [default: first column header]
145+
--output TEXT Output format. Available: (readable|json|jsonfile). [default: readable]
146+
--outfilename FILE File to write JSON output to (only used with --output=jsonfile). [default: YYYY-MM-DD_HH-MM-SS_diffs.json]
147+
--outfilepath DIRECTORY Directory to save the output file (only used with --output=jsonfile). [default: current directory]
148+
--fields TEXT Comma-separated list of fields to compare (all others ignored). Mutually exclusive with --ignorefields. (example: --fields=Id,Name,Age__c,Email__c).
149+
--ignorefields TEXT Comma-separated list of fields to ignore during comparison. Mutually exclusive with --fields. (example: --ignorefields=LastModifiedDate,SystemModstamp,Days_Since_Last_Contact__c).
150+
--showunchanged If a record is changed, show ALL fields, not just the changed fields.
151+
--time Measure and display elapsed time for the diff operation.
152+
--format TEXT Explicitly specify input format. Available (csv|tsv|json). [default: auto-detect based on file extension]
153+
--encoding TEXT Input File Encoding. Available: (utf-8|utf-16|utf-16le|utf-16be|latin1|cp1252|ascii|...). [default: utf-8]
154+
--streaming Use streaming mode for very large CSV/TSV files (requires files to be sorted by key).
155+
--version Show the version and exit.
156+
-h, --help Show this message and exit.
153157

154-
Example: db-diff old.csv new.csv --key=Id --output=jsonfile --outputfile=diff.json
158+
Example: db-diff old.csv new.csv --key=Id --output=jsonfile --outfilename=diff.json

0 commit comments

Comments
 (0)