CLI
handoff diff
Compare your local .env to the remote version before pushing or pulling.
Usage
handoff diff [--env <name>] [--file <path>]What it does
Shows a per-key diff between your local file and the selected remote environment:
+keys only on the remote-keys only in your local file~keys that exist in both but disagree
Values are redacted in the output (only key names are printed), so you can safely run diff in a shared terminal.
Example output
~ STRIPE_SECRET_KEY (differs)
+ SENTRY_DSN (remote only)
- LEGACY_FEATURE_FLAG (local only)Flags
| Flag | Default | Description |
|---|---|---|
-e, --env <name> | default env from .handoff/config.json | Environment to compare against |
-f, --file <path> | .env | Local file to compare |