Skip to content

cwp plugins apply

shipped 1.0.0
cwp plugins apply [env] [flags]

This name is an alias. The work moved to cwp push --only inventory, and that page documents it. This spelling still runs for one minor cycle.

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

tree → site

ArgumentWhat it isDefault
[env]environment to change (default: default_environment in cwp.yml)
FlagWhat it doesDefault
--prunealso delete plugins and themes inventory.yml does not listoff
--exactinstall the recorded version over a different oneoff
--forceoverride the protected-environment refusaloff
--no-backupskip the remote backup taken before the writeon
--yesskip the confirmation promptoff
--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

The former name of cwp inventory apply. It behaves identically, and that page is the documentation.

What it does not do

It does nothing the command it aliases does not do.