EnvSync-LE
v2.5.0Compare dotenv files and report which keys are missing or extra, by name only.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
compare_env_files
Compare dotenv files and report which keys are missing from which file, and which are extra relative to a template. Takes file contents directly. Only key NAMES are returned — never values — because a dotenv file is where credentials live and the answer does not need them. In "auto" mode the reference is the union of all keys, so nothing can be extra; "template" mode compares every file against one named template.
| Parameter | Type | Description |
|---|---|---|
files * | array | The dotenv files to compare. |
caseSensitive | boolean | Whether key names are compared case-sensitively. |
maxResults | integer | Cap on returned key mismatches (default 500). meta.truncated reports whether any were dropped. |
mode | string | "auto" compares against the union of all keys; "template" compares against one file. |
templatePath | string | Which file is the template. Required when mode is "template". |