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-CLI by cloning the git repo, but the preferred method is to use the installer, as described on the front page.
The main reason for using the installer is to be able to leverage the optional Boris package, for an enhanced wp shell 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
andwp theme list
subcommands - added
--extra-php
flag towp core config
subcommand - added
--label
option towp scaffold post-type
andwp scaffold taxonomy
- added
--verbose
flag towp export
command - added
--fields
option to alllist
subcommands - removed
wp home
command wp search-replace
: added--skip_columns
option; added--network
flag; fixed a lot of bugswp theme install
: fixed--version
parameter being ignoredwp core init-tests
: create the test database if necessarywp db
: ignore~/.my.cnf
file when running subcommandswp 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 PHP errors only on STDERR
You can also browse the full list of resolved issues on Github.
Contributors to this release: cyberhobo, daithi-coombes, danielbachhuber, future500, glebis, goldenapples, j3lamp, jmslbam, mwilliamson, om4james, scribu, tlovett1, tolgap, twisty, westonruter.
What’s next?
I foresee a comeback of community commands, but in a better form.