extending your wordpress toolbelt with wp-cli
DESCRIPTION
WordCamp Raleigh 2013TRANSCRIPT
![Page 1: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/1.jpg)
Extending Your WordPress Toolbelt
with WP-CLIWordCamp Raleigh 2013
Ryan Duff
![Page 2: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/2.jpg)
Me
•WordPress Developer
•Open Source Contributor
•Sysadmin (sort of)
![Page 3: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/3.jpg)
WP-CLI
WP-CLI is a set of command-line tools for managing WordPress
installations.
![Page 4: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/4.jpg)
![Page 5: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/5.jpg)
Requirements
•UNIX-like environment (OS X, Linux, FreeBSD, Cygwin)
•PHP 5.3.2 or later
•WordPress 3.4 or later
![Page 6: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/6.jpg)
How To Install
Alternate install methods:https://github.com/wp-cli/wp-cli/wiki/Alternative-Install-Methods
curl https://raw.github.com/wp-cli/wp-cli.github.com/master/installer.sh | bash
![Page 7: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/7.jpg)
What Does It Do?Everything... almost
Sorry… it won’t make you coffee.
![Page 8: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/8.jpg)
Download, Configure, Install
![Page 9: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/9.jpg)
wp core download
![Page 10: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/10.jpg)
wp core config --dbname=wcraleigh --dbuser=wcraleigh --dbpass=wcraleigh
wp core install --url="http://site.com" --title="Site Name" --admin_user=notadmin --admin_password=somethingstrong --admin_email="[email protected]"
![Page 11: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/11.jpg)
![Page 12: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/12.jpg)
![Page 13: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/13.jpg)
Install and Manage Plugins
![Page 14: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/14.jpg)
wp plugin
listsearchinstall | deleteactivate | deactivate | toggle
update
![Page 15: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/15.jpg)
![Page 16: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/16.jpg)
![Page 17: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/17.jpg)
Themes too!
![Page 18: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/18.jpg)
Import & Export
Search & Replace too!
![Page 19: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/19.jpg)
But wait. There’s more!
![Page 20: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/20.jpg)
PostsComments
UsersMedia
Post Meta
![Page 21: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/21.jpg)
2 for 1 Special
![Page 22: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/22.jpg)
MultisiteRewritesOptions
![Page 23: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/23.jpg)
![Page 24: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/24.jpg)
English please?
![Page 25: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/25.jpg)
Your Turn(aka How to Extend WP-CLI)
![Page 26: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/26.jpg)
![Page 27: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/27.jpg)
![Page 28: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/28.jpg)
More InfoWeb: http://wp-cli.org/
Core Commands: http://wp-cli.org/commands/
Cookbook: https://github.com/wp-cli/wp-cli/wiki/Commands-Cookbook
Github: https://github.com/wp-cli/wp-cli
![Page 29: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/29.jpg)
Questions?
![Page 30: Extending Your WordPress Toolbelt with WP-CLI](https://reader034.vdocument.in/reader034/viewer/2022052618/554f5001b4c905423f8b5187/html5/thumbnails/30.jpg)
Ryan Duff
email: [email protected]
web: http://fusionized.com
twitter: @ryancduff
github: https://github.com/ryanduff