cwp edge status
shipped 2.0.0cwp edge status [env] [flags]
Acts on the local site. Name an environment to act there instead.
| Argument | What it is | Default |
|---|---|---|
[env] | environment to compare (default: default_environment in cwp.yml) |
| Flag | What it does | Default |
|---|---|---|
--with-agent | with —dry-run on a host with no shell: install and remove the PHP agent so the plan is real | off |
Plus the shared flags --json, -v, --verbose, -q, --quiet and --dry-run.
What it does
edge status reads edge/<env>.yml and the zone, and names every setting
where the two disagree. It writes nothing. It exits non-zero when anything has
drifted, so a pipeline can gate on it.
$ cwp edge status live
! edge (live) — tls: tree strict, zone full
An environment with no edge/<env>.yml reports that there is nothing to
compare and exits zero.
What it does not do
- It writes nothing, to the zone or the tree.
- It does not compare DNS.