Skip to content

cwp content list

shipped 1.0.0
cwp content list [env] [flags]

Acts on the local site unless an environment is named.

ArgumentWhat it isDefault
[env]environment to read (omit for the local site)

Plus the shared flags --json, --verbose and --dry-run.

What it does

Lists the posts a content group claims, on the local site or on an environment.

It is the command that answers “what would --all mean here” before you type --all — and on a site you have not looked at in a while, that is a question worth asking.

Example

cwp content list
cwp content list prod
cwp content list --json

What it does not do

It writes nothing, on either side, and it does not compare anything. cwp content status is the one that says what differs.