WP CLI

WP CLI

Given at MWUG 2014, this talk covers the basics of terminal use and WP CLI

Eba4cc68bfbc2b59c3c3a3cf789075f0?s=128

Tom J Nowell

August 20, 2014
Tweet

Transcript

  1. WP CLI A talk by Tom J Nowell

  2. I’m Tom J Nowell Code For The People

  3. I’ll Cover • What is WP CLI • What’s a

    Command Line • Running a command • WP CLI Commands
  4. WP CLI WordPress, Command Line Interface A tool for terminal

    users
  5. What is The Terminal?

  6. ❯ date

  7. ❯ date Wed 20 Aug 2014 17:46:41 BST

  8. ❯ command parameter1 parameter2 etc...

  9. Essential Commands • ls what’s inside this folder • cd

    foldername change into another folder • cd .. go up one folder
  10. Opening the Terminal

  11. None
  12. Once installed, open your WordPress folder on the terminal GIF

    by Chris Coyier of CSS Tricks
  13. Some of the Things WP CLI Can Do • Create

    Posts • Create Users • Download plugins and themes • Database Queries • Installing WordPress
  14. E.g. Adding an author to a site: ❯ wp user

    create bob bob@example.com --role=author
  15. A demonstration

  16. Questions?