This document discusses using the command line interface (CLI) with WordPress. It provides an overview of basic WP-CLI commands for core functions like installing plugins and themes. More advanced commands cover content management, tools, and custom commands that can be built. The CLI allows for automated migrations and efficient development practices.
3. “Why should I use the command line, when
WordPress already has such a fantastic UI?”
4. • Already included in VVV, VIP Quickstart
https://github.com/Varying-Vagrant-Vagrants/VVV/
https://github.com/Automattic/vip-quickstart
• Most major hosts include it: DreamHost, Media
Temple, BlueHost, SiteGround, 1&1…
• Installation:
http://wp-cli.org/#install
22. “Adding commands to your plugin is great for
encouraging good API design, collaborating
amidst a changing data structure, efficiency, and
better debugging.”
–Matt Wiebe, Why You Should Develop Plugins With wp-cli
23. • Jetpack module control
• wp jetpack module list
• wp jetpack module activate
• BackUpWordPress
• wp backup [lots of options]