Skip to content

cwp edge status

shipped 2.0.0
cwp edge status [env] [flags]

Acts on the local site. Name an environment to act there instead.

ArgumentWhat it isDefault
[env]environment to compare (default: default_environment in cwp.yml)
FlagWhat it doesDefault
--with-agentwith —dry-run on a host with no shell: install and remove the PHP agent so the plan is realoff

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.