Skip to content

WP-CLI (WordPress Command Line) Talk from WordCamp Columbus 2015

Thank you to everyone who came out to my talk at WordCamp Columbus today. Looking for the slides? This slideshow contains not only the slides I used during the talk, but also includes most of the commands that I showed during the live demo. I hope they’ll help you as you start trying this out on your own sites.

Also, here are another few useful links from things I mention during this presentation:

  • I showed you how to pipe content into the post generate command.  This was:curl “http://example.com/url-to-post-content/” | wp post generate –count=50 –post_content
  • I showed you how you can import users from a CSV file.  Here’s the CSV file with my sample users.
  • I talked about the test data that Automattic made for unit testing themes.  You can import this with the wp import command.  You can download the test data XML file here.

If you have any questions, feel free to comment below.

Thanks!

Shawn

2 Comments

  1. There’s also this theme unit test data: http://wptest.io/

    Not sure how it compares to Automattic’s, but it’s the one I’ve used.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.