CLI reference/Environments/env
clavis env diff
Compare key names between two environments
sh
clavis env diff SOURCE TARGETCompare two environments: which keys exist in only one of them and which have a different value. Values are fetched (the read is audited) and compared on your computer; they are never printed. Use clavis promote to copy values between environments.
Examples
sh
clavis env diff dev prod
clavis env diff staging production --jsonGlobal flags
These work with every command.
--debug- enable debug logging
--env string- environment slug
--json- output machine-readable JSON
--org string- organization slug
--overlay string- tenant/region overlay slug
--path string- folder path (default /)
--project string- project slug
--server string- Clavis server URL (default: from .clavis.yaml or saved login)
-h, --help- help for any command