Download the PHP package ernilambar/database-command without Composer
On this page you can find all versions of the php package ernilambar/database-command. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ernilambar/database-command
More information about ernilambar/database-command
Files in ernilambar/database-command
Package database-command
Short Description Tool to reset WordPress database. This reset WP database but retains given administrator user account.
License MIT
Homepage https://github.com/ernilambar/database-command
Informations about the package database-command
ernilambar/database-command
Tool to reset WordPress database. This reset WP database but retains given administrator user account.
Quick links: Installing
Using
wp database reset --author=<username> [--yes]
OPTIONS
--author=<username>
Administrator user you want to keep after reset.
[--yes]
Answer yes to the confirmation message.
EXAMPLES
# Reset database and keep `admin` user.
$ wp database reset --author=admin --yes
Installing
Installing this package requires WP-CLI v3.0 or greater. Update to the latest stable release with wp cli update.
Once you've done so, you can install the latest stable version of this package with:
To install the latest development version of this package, use the following command instead:
This README.md is generated dynamically from the project's codebase using wp scaffold package-readme (doc). To suggest changes, please submit a pull request against the corresponding part of the codebase.