How to extend WP-CLI for fame and fortune

You’re using the WordPress Command Line Interface (WP-CLI) to automate your workflows, WordPress site set-ups, adding users, etc. You’ve even added it to your CI/CD pipelines to automate behavioral testing and configuration of your testing environments. Recently you added a new plugin to your site that dramatically improves the functionality, only to discover that its data is locked out of WP-CLI, completely unavailable. Do you bail on the plugin and look for another one that is more compatible with WP-CLI? Or do you take matters into your own hands?

In this session, we won’t be discussing the basics of WP-CLI, though we will do a brief introduction. Instead, we’ll be focusing on how we can extend it, adding our own commands and modifying it to accommodate our own, unique needs.

Presenter

Paul Gilzow — Platform.sh

Log in

Please log in to access the recording, slides and other session materials. Paid members have full access to the entire library.

Forgot your password?

New members

HighEdWeb offers several membership classes. Join today as a premium, affiliate, student or institutional member for full access to this session. Become a paid member.

Shortcode

DPC9

Tags