Writing WP-CLI Commands That Work

WP-CLI is a great tool when you don’t need a fancy UI, need to write scripts to perform regular maintenance, or 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.

What You’ll Learn

  • Overview of WP-CLI
  • Why WP-CLI is useful and when to use it
  • What makes up a good WP-CLI command
  • The basic structure of a WP-CLI command