Generates code for post types, taxonomies, blocks, plugins, child themes, etc.
Find a file
2011-09-10 15:04:57 +02:00
.gitignore Documentation and command line tools 2011-09-10 14:51:26 +02:00
README.md Readme & config 2011-09-10 15:04:57 +02:00

WP-CLI: Wordpress Command Line Tools

What is wp-cli

A command line tool to do maintenance work on a Wordpress install from the command line.

Installing

Installing wp-cli is extremely simple: place the wp-cli folder in your Wordpress root, (on the same level as wp-admin and wp-content). That's it!

Usage

In your terminal, go into the wp-cli folder.

Type the following command: ./wp help

This will show you an output similar to this: Example usage: wp google-sitemap [build|help] ... wp core [update|help] ... wp home [help] ... wp plugins [status|activate|deactivate|install|delete|update|help] ...

Adding commands

Adding commands to wp-cli is very easy. You can even add them from within your own plugin.

Requirements

  • PHP >= 5.3