wp post list

Gets a list of posts

Options

NameDescription
--field=valueOne or more args to pass to WP_Query
--field <fields>Prints the value of a single field for each post
--fields <fields>Limit the output to specific object fields
--format <format>Render output in a particular format