Title: WP-CLI – Page 16 – The command line interface for WordPress

---

 [  ](https://profiles.wordpress.org/scribu/) [scribu](https://profiles.wordpress.org/scribu/)
12:00 am _on_ August 5, 2013      

# 󠀁[Version 0.11 has arrived.](https://make.wordpress.org/cli/2013/08/05/version-0-11/)󠁿

It’s been two months since the [last major release](https://make.wordpress.org/blog/version-0.10.html?output_format=md).
We didn’t want to wait any longer to show you all the goodies that we packed into
this version.

### Import content from WXR files

A significant addition in this release is the [wp import](https://make.wordpress.org/commands/import/?output_format=md)
command, which is the yin to [wp export](https://make.wordpress.org/commands/export/?output_format=md)‘
s yang.

It’s an iteration on Automattic’s [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer).

### Install multisiteMultisite Multisite is a WordPress feature which allows users to create a network of sites on a single WordPress installation. Available since WordPress version 3.0, Multisite is a continuation of WPMU or WordPress Multiuser project. WordPress MultiUser project was discontinued and its features were included into WordPress core. 󠀁[Advanced Administration Handbook -> Create A Network.](https://developer.wordpress.org/advanced-administration/multisite/create-network/)󠁿 from scratch

Here’s a little puzzle: How do you spin up a multisite install, when you already
have a `wp-config.php` file with all the settings?

Run `wp core install` and then `wp core install-network`? No. Use a dummy `wp-config.
php` file and then swap in the real one? Probably not. Learn to play jazz, impress
Matt and then ask him to fix the multisite install process? Maybe later.

To trick WordPress into submission, you have to do a zillion little hacks, strewn
throughout the loading process. We took care of this dirty work for you. Just run`
wp core multisite-install`.

### Inline help

In previous versions, `wp help` called `man` internally. Besides not working on 
Windows, it also had the significant drawback that you had to use a separate tool
to compile man pages.

In WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative
and development tasks in a programmatic way. The project page is [http://wp-cli.org/](http://wp-cli.org/)
[https://make.wordpress.org/cli/](https://make.wordpress.org/cli/) 0.11, we generate
the docs on the fly, using the information from the [command PHPDoc](https://github.com/wp-cli/wp-cli/wiki/Commands-Cookbook#longdesc).

### Support for community packages

Remember how in the previous release we suggested using [the installer](https://make.wordpress.org/?output_format=md#install)?
If you followed that recommendation, it should be very easy to install [community packages](https://github.com/wp-cli/wp-cli/wiki/Community-Packages)
now.

### Changelog

Commands:

 * added [wp import](https://make.wordpress.org/commands/import/?output_format=md)
   command
 * added [wp core multisite-install](https://make.wordpress.org/commands/core/multisite-install/?output_format=md)
   command
 * renamed `wp core install-network` to `wp core multisite-convert`
 * added [wp network-meta](https://make.wordpress.org/commands/network-meta/?output_format=md)
   command
 * renamed `wp blog` to `wp site`
 * added `--force` flag to `wp plugin install` and `wp theme install`
 * added `wp user get` subcommand
 * added `--format=count` to `list` subcommands
 * made `wp user` commands accept both user logins or user IDs.

Internals:

 * added support for `@when before_wp_load` annotation
 * added support for `apache_modules` config key
 * show warning if WordPress version is too old
 * support passing `--require=` multiple times
 * deprecated `WP_CLI::add_man_dir()`

You can also browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=10&state=closed)
on GithubGitHub GitHub is a website that offers online implementation of git repositories
that can easily be shared, copied and modified by other developers. Public repositories
are free to host, private repositories require a paid subscription. GitHub introduced
the concept of the ‘pull request’ where code changes done in branches by contributors
can be reviewed and discussed before being merged by the repository owner. [https://github.com/](https://github.com/).

Contributors to this release: [dangardner](https://github.com/dangardner), [danielbachhuber](https://github.com/danielbachhuber),
[eugeneware](https://github.com/eugeneware), [jmslbam](https://github.com/jmslbam),
[johnbillion](https://github.com/johnbillion), [MiteshShah](https://github.com/MiteshShah),
[om4james](https://github.com/om4james), [scribu](https://github.com/scribu), [twratajczak](https://github.com/twratajczak),
[Veered](https://github.com/Veered).

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2013%2F08%2F05%2Fversion-0-11%2F%23respond&locale=en_US)

 [  ](https://profiles.wordpress.org/scribu/) [scribu](https://profiles.wordpress.org/scribu/)
12:00 am _on_ June 26, 2013      

# 󠀁[Version 0.10.2 released](https://make.wordpress.org/cli/2013/06/26/version-0-10-2/)󠁿

This is a minor releaseMinor Release A set of releases or versions having the same
minor version number may be collectively referred to as .x , for example version
5.2.x to refer to versions 5.2, 5.2.1, 5.2.3, and all other versions in the 5.2 (
five dot two) branch of that software. Minor Releases often make improvements to
existing features and functionality., mainly meant to fix a dependency issue.

### Changelog

Commands:

 * when using `--format=json`, show warning if the value is not a valid JSONJSON
   JSON, or JavaScript Object Notation, is a minimal, readable format for structuring
   data. It is used primarily to transmit data between a server and web application,
   as an alternative to XML. string
 * updated man page for `wp core install-network` and other man page fixes

Internals:

 * fix required version for php-cli-tools package

You can also browse the list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=12&state=closed)
on GithubGitHub GitHub is a website that offers online implementation of git repositories
that can easily be shared, copied and modified by other developers. Public repositories
are free to host, private repositories require a paid subscription. GitHub introduced
the concept of the ‘pull request’ where code changes done in branches by contributors
can be reviewed and discussed before being merged by the repository owner. [https://github.com/](https://github.com/).

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2013%2F06%2F26%2Fversion-0-10-2%2F%23respond&locale=en_US)

 [  ](https://profiles.wordpress.org/scribu/) [scribu](https://profiles.wordpress.org/scribu/)
12:00 am _on_ June 15, 2013      

# 󠀁[Version 0.10.1 released](https://make.wordpress.org/cli/2013/06/15/version-0-10-1/)󠁿

This is a minor, bugxfix-only release.

### Changelog

Commands:

 * improved `--version` handling for `wp plugin` and `wp theme` subcommands
 * updated man page for `wp post get`
 * improved `.travis.xml` file generated by `wp scaffold plugin-tests`

Internals:

 * show warning if a URLURL A specific web address of a website or web page on the
   Internet, such as a website’s URL www.wordpress.org redirect is attempted while
   using WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to
   do administrative and development tasks in a programmatic way. The project page
   is [http://wp-cli.org/](http://wp-cli.org/) [https://make.wordpress.org/cli/](https://make.wordpress.org/cli/)

You can also browse the list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=11&state=closed)
on GithubGitHub GitHub is a website that offers online implementation of git repositories
that can easily be shared, copied and modified by other developers. Public repositories
are free to host, private repositories require a paid subscription. GitHub introduced
the concept of the ‘pull request’ where code changes done in branches by contributors
can be reviewed and discussed before being merged by the repository owner. [https://github.com/](https://github.com/).

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2013%2F06%2F15%2Fversion-0-10-1%2F%23respond&locale=en_US)

 [  ](https://profiles.wordpress.org/scribu/) [scribu](https://profiles.wordpress.org/scribu/)
12:00 am _on_ June 8, 2013      

# 󠀁[Version 0.10 is out!](https://make.wordpress.org/cli/2013/06/08/version-0-10/)󠁿

In the last two and a half months, we’ve added a ton of new features, fixed many
bugs and improved our functional test suite.

### New installer

You can still install WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress,
used to do administrative and development tasks in a programmatic way. The project
page is [http://wp-cli.org/](http://wp-cli.org/) [https://make.wordpress.org/cli/](https://make.wordpress.org/cli/)
by cloning the git repo, but the preferred method is to use the installer, as described
on the [front page](https://make.wordpress.org/?output_format=md).

The main reason for using the installer is to be able to leverage the optional [Boris](https://github.com/d11wtq/boris/)
package, for an enhanced [wp shell](https://make.wordpress.org/blog/wp-shell.html?output_format=md)
experience.

### Changelog

Commands:

 * added `wp scaffold child-theme` subcommand
 * added `wp media import` subcommand
 * added `wp blog empty` subcommand
 * added `wp post get` subcommand
 * added `wp plugin list` and `wp theme list` subcommands
 * added `--extra-php` flag to `wp core config` subcommand
 * added `--label` option to `wp scaffold post-type` and `wp scaffold taxonomy`
 * added `--verbose` flag to `wp export` command
 * added `--fields` option to all `list` subcommands
 * removed `wp home` command
 * `wp search-replace`: added `--skip_columns` option; added `--network` flag; fixed
   a lot of bugs
 * `wp theme install`: fixed `--version` parameter being ignored
 * `wp core init-tests`: create the test database if necessary
 * `wp db`: ignore `~/.my.cnf` file when running subcommands
 * `wp db query`: read from STDIN if no parameter is passed

Internals:

 * made it possible to call `wp` from subdirectories
 * set `WP_ADMIN` to true
 * improved Cygwin compatibility
 * replaced `--man` flag with `--help --gen`
 * converted `--json` to `--format=json` everywhere
 * show PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-
   used open source general-purpose scripting language that is especially suited
   for web development and can be embedded into HTML. [https://www.php.net/manual/en/index.php](https://www.php.net/manual/en/index.php)
   errors only on STDERR

You can also browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=9&state=closed)
on GithubGitHub GitHub is a website that offers online implementation of git repositories
that can easily be shared, copied and modified by other developers. Public repositories
are free to host, private repositories require a paid subscription. GitHub introduced
the concept of the ‘pull request’ where code changes done in branches by contributors
can be reviewed and discussed before being merged by the repository owner. [https://github.com/](https://github.com/).

Contributors to this release: [cyberhobo](http://github.com/cyberhobo), [daithi-coombes](http://github.com/daithi-coombes),
[danielbachhuber](http://github.com/danielbachhuber), [future500](http://github.com/future500),
[glebis](http://github.com/glebis), [goldenapples](http://github.com/goldenapples),
[j3lamp](http://github.com/j3lamp), [jmslbam](http://github.com/jmslbam), [mwilliamson](http://github.com/mwilliamson),
[om4james](http://github.com/om4james), [scribu](http://github.com/scribu), [tlovett1](http://github.com/tlovett1),
[tolgap](http://github.com/tolgap), [twisty](http://github.com/twisty), [westonruter](http://github.com/westonruter).

### What’s next?

I foresee a comeback of community commands, but in a better form.

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2013%2F06%2F08%2Fversion-0-10%2F%23respond&locale=en_US)

 [  ](https://profiles.wordpress.org/jmslbam/) [jmslbam](https://profiles.wordpress.org/jmslbam/)
12:00 am _on_ March 29, 2013      

# 󠀁[Scaffolding Custom Post Types and Taxonomies](https://make.wordpress.org/cli/2013/03/29/scaffolding-custom-post-types-and-taxonomies/)󠁿

Custom post types and custom taxonomies are the building blocks for advanced functionality.
Most of the time, the code for registering them is either copy+pasted from somewhere
or it’s saved as a snippet in your text editor.

Now you can do this with WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress,
used to do administrative and development tasks in a programmatic way. The project
page is [http://wp-cli.org/](http://wp-cli.org/) [https://make.wordpress.org/cli/](https://make.wordpress.org/cli/),
using the `wp scaffold` command.

### Scaffold a custom post typeCustom Post Type WordPress can hold and display many different types of content. A single item of such a content is generally called a post, although post is also a specific post type. Custom Post Types gives your site the ability to have templated posts, to simplify the concept.

The following command generates the code for registering the post type and also 
for customizing the update messages:

    ```bash
    wp scaffold post-type zombie
    ```

### Scaffold a taxonomyTaxonomy A taxonomy is a way to group things together. In WordPress, some common taxonomies are category, link, tag, or post format. 󠀁[https://codex.wordpress.org/Taxonomies#Default_Taxonomies](https://codex.wordpress.org/Taxonomies#Default_Taxonomies)󠁿.

The following command generates the code for registering the taxonomy to the zombie
post type:

    ```bash
    wp scaffold taxonomy zombie-speed --post_types=zombie
    ```

### But I only want the registration of the post-type…

Then you can add the `--raw` flag:

    ```bash
    wp scaffold post-type zombie --raw
    ```

This will only output the code that will `register_post_type()` without the `init`
action and the update messages.

### But where does the code go?

This is a personal preference. Some ship it within a theme, while others will save
it within a pluginPlugin A plugin is a piece of software containing a group of functions
that can be added to a WordPress website. They can extend functionality or add new
features to your WordPress websites. WordPress plugins are written in the PHP programming
language and integrate seamlessly with WordPress. These can be free in the WordPress.
org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
or can be cost-based plugin from a third-party.. That’s why we have these two flags:

    ```bash
    wp scaffold post-type zombie --theme
    ```

`--theme` stores the generated code within your current active theme under a `/post-
types` directory and names a file name `zombie.php`

    ```bash
    wp scaffold post-type zombie --plugin=pluginname
    ```

`--plugin=plugin-dir-name` stores the generated code within the given plugin name.

By default, the code will be output to your terminal (STDOUT) so you could write
it to your file of choice:

    ```bash
    wp scaffold post-type zombie > ~/project/foo/bar.php
    ```

### And what about I18n?

Internationalization by gettext can be achieved through the `--textdomain` parameter:

    ```bash
    wp scaffold post-type zombie --textdomain=my-textdomain
    ```

By default when using the `--theme`, the textdomain will be that of your active 
theme, and if
 using the `--plugin` flag, the textdomain will be your plugin name.

Enjoy these commands; we hope it will speed-up and ease your development with WordPress!

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2013%2F03%2F29%2Fscaffolding-custom-post-types-and-taxonomies%2F%23respond&locale=en_US)

 [  ](https://profiles.wordpress.org/scribu/) [scribu](https://profiles.wordpress.org/scribu/)
12:00 am _on_ March 20, 2013      

# 󠀁[Version 0.9 released](https://make.wordpress.org/cli/2013/03/20/version-0-9/)󠁿

Version 0.9.0 is now available.

### New distribution method

The PEAR channel has been abandoned, and replaced with a much simpler distribution
method: you download a single Phar archive. Done.

Of course, installing via git is still possible and encouraged, if you want to hack
on WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative
and development tasks in a programmatic way. The project page is [http://wp-cli.org/](http://wp-cli.org/)
[https://make.wordpress.org/cli/](https://make.wordpress.org/cli/).

The [front page](https://make.wordpress.org/?output_format=md) has up-to-date information
about all the supported installation methods.

### Changelog

Commands:

 * added `wp media regenerate` command. props [Viper007Bond](https://github.com/Viper007Bond)
   and [benmay](https://github.com/benmay) for the initial work
 * added `wp role` command
 * added `wp term` command
 * added [wp post edit](https://make.wordpress.org/blog/editing-posts.html?output_format=md)
 * added `--edit` flag to `wp post create`
 * added `wp scaffold _s`
 * added `wp core init-tests`
 * made `wp scaffold plugin` generate files for unit tests. see the [blog post](https://make.wordpress.org/blog/plugin-unit-tests.html?output_format=md)
 * added `--format` parameter to `wp user list`
 * made `wp help` work without a WP install
 * added `--force` flag to `wp core download`

Internals:

 * fixed `--path` argument getting ignored when running `wp core download`
 * don’t set `WP_ADMIN` to true
 * fixed loading error with some `wp-config.php` files
 * replaced git submodules with Composer dependencies
 * improved functional test coverage and set up [Travis CI builds](https://travis-ci.org/wp-cli/wp-cli)

You can also browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=7&state=closed).

Contributors to this release: [danielbachhuber](http://github.com/danielbachhuber),
[drrobotnik](http://github.com/drrobotnik), [erwanlr](http://github.com/erwanlr),
[goldenapples](http://github.com/goldenapples), [jmslbam](http://github.com/jmslbam),
[leewillis77](http://github.com/leewillis77), [nacin](http://github.com/nacin), 
[nb](http://github.com/nb), [ocean90](http://github.com/ocean90), [scribu](http://github.com/scribu),
[sebastiaandegeus](http://github.com/sebastiaandegeus), [taupecat](http://github.com/taupecat).

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2013%2F03%2F20%2Fversion-0-9%2F%23respond&locale=en_US)

 [  ](https://profiles.wordpress.org/scribu/) [scribu](https://profiles.wordpress.org/scribu/)
12:00 am _on_ March 16, 2013      

# 󠀁[Edit WordPress Posts in Vim or Emacs or Whatever](https://make.wordpress.org/cli/2013/03/16/editing-posts/)󠁿

A few years ago, I came across a very interesting project by Joseph Scott, called
[PressFS](https://github.com/josephscott/pressfs); it exposed WordPress posts as
plain text files on your filesystem. This allowed you to use all your favorite command-
line tools to manipulate these posts, including editing their content in your favorite
text editor.

With [WP-CLI](https://make.wordpress.org/?output_format=md) 0.9.0-betaBeta A pre-
release of software that is given out to a large group of users to trial under real
conditions. Beta versions have gone through alpha testing in-house and are generally
fairly close in look, feel and function to the final product; however, design changes
often occur as part of the process., you can do the same thing:

    ```bash
    wp post edit 123
    ```

Once you run that command, your `$EDITOR` will open up, pre-filled with the content
of the post with ID 123. After you’ve made your changes and quit the editor, WP-
CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative
and development tasks in a programmatic way. The project page is [http://wp-cli.org/](http://wp-cli.org/)
[https://make.wordpress.org/cli/](https://make.wordpress.org/cli/) will update the
post in the database.

Credit goes to [goldenapples](https://github.com/goldenapples) for [implementing](https://github.com/wp-cli/wp-cli/pull/302)
it.

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2013%2F03%2F16%2Fediting-posts%2F%23respond&locale=en_US)

 [  ](https://profiles.wordpress.org/scribu/) [scribu](https://profiles.wordpress.org/scribu/)
12:00 am _on_ February 19, 2013      

# 󠀁[Easily Set Up Unit Tests For Your Plugin](https://make.wordpress.org/cli/2013/02/19/plugin-unit-tests/)󠁿

One of the reasons so few people take the time to write [unit tests for plugins](http://wordpress.tv/2011/08/20/nikolay-bachiyski-unit-testing-will-change-your-life/)
they author is that it’s a chore to set everything up. Besides installing [PHPUnit](http://www.phpunit.de/manual/current/en/automating-tests.html),
you also have to set up the [WordPress testing library](https://make.wordpress.org/core/handbook/automated-testing/),
as well as the actual pluginPlugin A plugin is a piece of software containing a 
group of functions that can be added to a WordPress website. They can extend functionality
or add new features to your WordPress websites. WordPress plugins are written in
the PHP programming language and integrate seamlessly with WordPress. These can 
be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
or can be cost-based plugin from a third-party. tests configuration files.

If you’re running WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress,
used to do administrative and development tasks in a programmatic way. The project
page is [http://wp-cli.org/](http://wp-cli.org/) [https://make.wordpress.org/cli/](https://make.wordpress.org/cli/)
0.9.0-alpha2 or later, there are commands that make the last two steps significantly
easier. See the [Plugin Unit Tests](https://github.com/wp-cli/wp-cli/wiki/Plugin-Unit-Tests)
wiki page for up-to-date usage info.

You can check out the [sample-plugin](https://github.com/wp-cli/sample-plugin) repo
to see what a generated plugin looks like.

A shout-out to the people that contributed to [benbalter/wordpress-plugin-tests](https://github.com/benbalter/wordpress-plugin-tests/contributors)
is in order.

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2013%2F02%2F19%2Fplugin-unit-tests%2F%23respond&locale=en_US)

 [  ](https://profiles.wordpress.org/scribu/) [scribu](https://profiles.wordpress.org/scribu/)
12:00 am _on_ January 26, 2013      

# 󠀁[Version 0.8](https://make.wordpress.org/cli/2013/01/26/version-0-8/)󠁿

Version 0.8.0 is now available.

### Changelog

Commands:

 * added `wp search-replace`. hat tip to [interconnectit/Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB)
 * added `wp scaffold`
 * added `wp cap`
 * added `wp user add-role`
 * added `--role` parameter to `wp user remove-role`
 * added `--ids` parameter to `wp user list`
 * added `--post__in` parameter to `wp export`
 * added `--str` parameter to most `wp db` subcommands
 * removed community commands (`wp total-cache`, `wp super-cache`, `wp sitemap`)
 * made `wp post update` accept multiple IDs
 * fixed incorrect exit code from `wp core is-installed` in some cases
 * fixed `wp user import-csv`
 * fixed `wp theme update <theme>`
 * fixed `wp plugin update <plugin>` not reactivating the pluginPlugin A plugin 
   is a piece of software containing a group of functions that can be added to a
   WordPress website. They can extend functionality or add new features to your 
   WordPress websites. WordPress plugins are written in the PHP programming language
   and integrate seamlessly with WordPress. These can be free in the WordPress.org
   Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
   or can be cost-based plugin from a third-party.

Internals:

 * added support for `wp-cli.yml` config file
 * bypass full-page caching plugins
 * disabled coloring when not in a TTY and added `--color/no-color` global parameters
 * added `--debug` global parameter
 * added `wp --info` utility
 * added unit tests for `wp core` subcommands
 * [Composer](http://getcomposer.org) compatibility

You can also browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=6&state=closed).

Contributors to this release: [danielbachhuber](http://github.com/danielbachhuber),
[ericmann](http://github.com/ericmann), [jmslbam](http://github.com/jmslbam), [milesj](http://github.com/milesj),
[mwilliamson](http://github.com/mwilliamson), [scribu](http://github.com/scribu),
[sebastiaandegeus](http://github.com/sebastiaandegeus).

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2013%2F01%2F26%2Fversion-0-8%2F%23respond&locale=en_US)

 [  ](https://profiles.wordpress.org/scribu/) [scribu](https://profiles.wordpress.org/scribu/)
12:00 am _on_ November 16, 2012      

# 󠀁[Version 0.7](https://make.wordpress.org/cli/2012/11/16/version-0-7/)󠁿

Version 0.7.0 is now available.

If you had installed WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress,
used to do administrative and development tasks in a programmatic way. The project
page is [http://wp-cli.org/](http://wp-cli.org/) [https://make.wordpress.org/cli/](https://make.wordpress.org/cli/)
using PEAR, you will probably have to re-install it from scratch, since the URLURL
A specific web address of a website or web page on the Internet, such as a website’s
URL www.wordpress.org for the channel has changed.

There is a new wiki page for [creating commands](https://github.com/wp-cli/wp-cli/wiki/Creating-Commands)
which has information about the new `@synopsis` tag etc. It also describes how you
can create man pages for your custom commands.

### Changelog

Commands:

 * added [wp shell](https://make.wordpress.org/blog/wp-shell.html?output_format=md)
 * added `wp cache`
 * added `wp comment`
 * added `wp rewrite`
 * added `wp user import-csv`
 * added `wp user set-role` and `wp user remove-role`
 * added `wp core is-installed`
 * added `wp blog delete`
 * added `wp post list`
 * made `wp post delete` accept a list of IDs
 * added `--dry-run` option `wp plugin update-all`
 * improved `wp export`

Breaking changes:

 * converted `wp plugin update --all` to `wp plugin update-all`
 * converted `wp theme update --all` to `wp theme update-all`
 * converted `wp generate posts` to `wp post generate`
 * converted `wp generate users` to `wp user generate`
 * renamed `wp core install_network` to `wp core install-network`
 * renamed `--path` option to `--dir` in `wp export`

Internals:

 * removed support for default subcommands
 * introduced `@synopsis` docblock tag
 * introduced `@subcommand` docblock tag
 * introduced `@alias` docblock tag
 * introduced `WP_CLI::add_man_dir()`

You can also browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=5&state=closed).

Contributors to this release: [andreascreten](http://github.com/andreascreten), 
[bendoh](http://github.com/bendoh), [builtbylane](http://github.com/builtbylane),
[danielbachhuber](http://github.com/danielbachhuber), [goldenapples](http://github.com/goldenapples),
[jghazally](http://github.com/jghazally), [lackingpenguin](http://github.com/lackingpenguin),
[navitronic](http://github.com/navitronic), [ozh](http://github.com/ozh), [scribu](http://github.com/scribu),
[tddewey](http://github.com/tddewey).

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fcli%2F2012%2F11%2F16%2Fversion-0-7%2F%23respond&locale=en_US)

## Post navigation

[← Older posts](https://make.wordpress.org/cli/page/17/?output_format=md)

[Newer posts →](https://make.wordpress.org/cli/page/15/?output_format=md)