cwp bricks post-types list
shipped 1.0.0cwp bricks post-types list [env] [flags]
Acts on the local site unless an environment is named.
| Argument | What it is | Default |
|---|---|---|
[env] | environment to read (omit for the local site) |
Plus the shared flags --json, --verbose and --dry-run.
What it does
Lists the post types the Bricks builder will open for, and the ones you could plausibly add.
The listing shows post types that are public, custom and not Bricks’ own — plus anything currently enabled, whatever it is, because a list that hid an unexpected entry would be answering a different question.
Example
cwp bricks post-types list
cwp bricks post-types list prod
What it does not do
It changes nothing, and it does not tell you whether a post type is registered
on the target — that is cwp doctor, which checks both sides
and reports the ones that exist on only one.