0
Extending Your
WordPress Toolbelt
with WP-CLI
WordCamp Raleigh 2013
Ryan Duff
Me
• WordPress Developer
• Open Source Contributor
• Sysadmin (sort of)
WP-CLI
WP-CLI is a set of command-line tools
for managing WordPress installations.
Requirements
• UNIX-like environment (OS X, Linux,
FreeBSD, Cygwin)

• PHP 5.3.2 or later
• WordPress 3.4 or later
How To Install

curl
https://raw.github.com/wp-cli/wp-cli.github.c
| bash

Alternate install methods:
https://github.com/w...
What Does It Do?
Everything... almost

Sorry… it won’t make you coffee.
Download, Configure,
Install
wp core download
wp core config
--dbname=wcraleigh
--dbuser=wcraleigh
--dbpass=wcraleigh
wp core install
--url="http://site.com"
--title="S...
Install and Manage
Plugins
wp plugin
list
search
install | delete
activate | deactivate | toggle
update
Themes too!
Import & Export
Search & Replace too!
Search & Replace too!
Search & Replace too!
But wait. There’s more!
Posts
Comments
Users
Media
Post Meta
Post Meta
Post Meta
Post Meta
2 for 1 Special
Multisite
Rewrites
Options
Options
Options
English please?
Your Turn
(aka How to Extend WP-CLI)
More Info
Web: http://wp-cli.org/
Core Commands: http://wp-cli.org/commands/
Cookbook: https://github.com/wp-cli/wpcli/wik...
Questions?
Ryan Duff
email: ryan@fusionized.com
web: http://fusionized.com
twitter: @ryancduff
github: https://github.com/ryanduff
Extending Your WordPress Toolbelt with WP-CLI
Extending Your WordPress Toolbelt with WP-CLI
Extending Your WordPress Toolbelt with WP-CLI
Extending Your WordPress Toolbelt with WP-CLI
Extending Your WordPress Toolbelt with WP-CLI
Extending Your WordPress Toolbelt with WP-CLI
Extending Your WordPress Toolbelt with WP-CLI
Extending Your WordPress Toolbelt with WP-CLI
Upcoming SlideShare
Loading in...5
×

Extending Your WordPress Toolbelt with WP-CLI

540

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
540
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×