CLI reference/Environments/env
clavis env similar
Compare every pair of environments and show how alike they are
sh
clavis env similarCompare every pair of environments and show how alike they are: the share of keys they have in common, and how many of those hold an identical value. Two environments that are mostly identical may be copies that should differ, for example a staging that still points at production's credentials. Values are fetched (the read is audited) and compared on your computer; they are never printed.
Examples
sh
clavis env similar
clavis env similar --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