WP-CLI is a great tool when you don’t need a fancy UI, need to write scripts to perform regular maintenance, or to provide deeper functionality to your awesome plugin. Like WordPress, it’s free, open source, and far more powerful than some people give it credit for.
This session covers the components necessary to write great WP-CLI scripts; from structure to execution, arguments to output, attendees should leave the session with everything they need to know to implement WP-CLI commands in their next project.
- WP-CLI project homepage
- WP-CLI Philosophy
- WordPress.com VIP WP-CLI Best Practices
stop_the_insanity()
code based on the implementation from WordPress.com, shortened for brevity.
- WordCamp Cincinnati 2017 - November 12, 2017
- LoopConf 2.1 - February 8, 2017 (video)
- WordCamp Columbus 2016 - August 27, 2016
- WordCamp Dayton 2016 – March 5, 2016 (joind.in)