Extending Your WordPress Toolbelt with WP-CLI

947 views

Published on

WordCamp Raleigh 2013

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
947
On SlideShare
0
From Embeds
0
Number of Embeds
45
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Extending Your WordPress Toolbelt with WP-CLI

  1. 1. Extending Your WordPress Toolbelt with WP-CLI WordCamp Raleigh 2013 Ryan Duff
  2. 2. Me • WordPress Developer • Open Source Contributor • Sysadmin (sort of)
  3. 3. WP-CLI WP-CLI is a set of command-line tools for managing WordPress installations.
  4. 4. Requirements • UNIX-like environment (OS X, Linux, FreeBSD, Cygwin) • PHP 5.3.2 or later • WordPress 3.4 or later
  5. 5. How To Install curl https://raw.github.com/wp-cli/wp-cli.github.c | bash Alternate install methods: https://github.com/wp-cli/wp-cli/wiki/Alternative-Install-Methods
  6. 6. What Does It Do? Everything... almost Sorry… it won’t make you coffee.
  7. 7. Download, Configure, Install
  8. 8. wp core download
  9. 9. 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="user@site.com"
  10. 10. Install and Manage Plugins
  11. 11. wp plugin list search install | delete activate | deactivate | toggle update
  12. 12. Themes too!
  13. 13. Import & Export Search & Replace too! Search & Replace too! Search & Replace too!
  14. 14. But wait. There’s more!
  15. 15. Posts Comments Users Media Post Meta Post Meta Post Meta Post Meta
  16. 16. 2 for 1 Special
  17. 17. Multisite Rewrites Options Options Options
  18. 18. English please?
  19. 19. Your Turn (aka How to Extend WP-CLI)
  20. 20. More Info Web: http://wp-cli.org/ Core Commands: http://wp-cli.org/commands/ Cookbook: https://github.com/wp-cli/wpcli/wiki/Commands-Cookbook Github: https://github.com/wp-cli/wp-cli
  21. 21. Questions?
  22. 22. Ryan Duff email: ryan@fusionized.com web: http://fusionized.com twitter: @ryancduff github: https://github.com/ryanduff

×