wp post generate

Generates some posts

Options

NameDescription
--count <number>How many posts to generate?
--post_type <type>The type of the generated posts
--post_status <status>The status of the generated posts
--post_title <post_title>The post title
--post_author <login>The author of the generated posts
--post_date <yyyy-mm-dd-hh-ii-ss>The date of the generated posts. Default: current date
--post_date_gmt <yyyy-mm-dd-hh-ii-ss>The GMT date of the generated posts. Default: value of post_date (or current date if it’s not set)
--post_contentIf set, the command reads the post_content from STDIN
--max_depth <number>For hierarchical post types, generate child posts down to a certain depth
--format <format>Render output in a particular format