Given at MWUG 2014, this talk covers the basics of terminal use and WP CLI
WP CLIA talk by Tom J Nowell
View Slide
I’m Tom J NowellCode For The People
I’ll Cover● What is WP CLI● What’s a Command Line● Running a command● WP CLI Commands
WP CLIWordPress, Command Line InterfaceA tool for terminal users
What is The Terminal?
❯ date
❯ dateWed 20 Aug 2014 17:46:41 BST
❯ command parameter1 parameter2 etc...
Essential Commands● ls what’s inside this folder● cd foldername change into another folder● cd .. go up one folder
Opening the Terminal
Once installed, open your WordPress folder onthe terminalGIF by Chris Coyier of CSS Tricks
Some of the Things WP CLI Can Do● Create Posts● Create Users● Download plugins and themes● Database Queries● Installing WordPress
E.g. Adding an author to a site:❯ wp user create bob [email protected]--role=author
A demonstration
Questions?