Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 582 Bytes

File metadata and controls

16 lines (11 loc) · 582 Bytes

FAQ

Can I compare more than 2 files?

Run the tool multiple times. Or pipe --json output to a script for batch comparison.

Does it handle .env with comments?

Yes. Lines starting with # and empty lines are ignored.

What about quoted values?

Single and double quotes at the start/end of values are stripped.

Can I use it in CI?

Yes. Use --json flag for machine-readable output. Exit code is 0 on success, 1 on file error.

Why not just use diff?

diff shows raw file differences. env-diff understands .env semantics: it ignores comments, blank lines, and quotes.