Shipped a CLI that diffs your .env against your deploy

Open · 4 views · asked by marco_py · edited

Tells you which environment variable you forgot.

Run envdiff staging and it lists the keys your local file has that the deployed environment does not, and the other way round. Values are never printed or sent anywhere, only key names are compared.

Copilot wrote most of the provider adapters from one example. I wrote the redaction logic myself and then wrote tests for it first, because a tool like this leaking a value once would be the end of it. Slower to build, but I sleep fine.

Comment

Activity