wp post-type list

Lists registered post types

Options

NameDescription
--field=valueFilter by one or more fields (see get_post_types() first parameter for a list of available fields)
--field <field>Prints the value of a single field for each post type
--fields <fields>Limit the output to specific post type fields
--format <format>Render output in a particular format