I need to create a single post with title, content and excerpt with this command as it’s described in the utility documentation. Could you please show me an example of how to use it? I couldn’t find nor in official documentation neither on Google.
Thanks!
3 s
If you type wp help post create
you will get all the info you need.
Example:
wp post create --post_type=page --post_status=publish --post_title="A new page"