cwp plugins apply
shipped 1.0.0cwp 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.
| Argument | What it is | Default |
|---|---|---|
[env] | environment to change (default: default_environment in cwp.yml) |
| Flag | What it does | Default |
|---|---|---|
--prune | also delete plugins and themes inventory.yml does not list | off |
--exact | install the recorded version over a different one | off |
--force | override the protected-environment refusal | off |
--no-backup | skip the remote backup taken before the write | on |
--yes | skip the confirmation prompt | off |
--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
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.