A command line interface for WordPress

wp db repair - Repair the database.


--path=<path> Path to the WordPress files.

--url=<url> Pretend request came from given URL. In multisite, this argument is how the target site is specified.

--user=<id|login|email> Set the WordPress user.

--skip-plugins[=<plugin>] Skip loading all or some plugins.

--skip-themes[=<theme>] Skip loading all or some themes.

--require=<path> Load PHP file before running the command (may be used more than once).

--[no-]color Whether to colorize the output.

--debug Show all PHP errors; add verbosity to WP-CLI bootstrap.

--prompt Prompt the user to enter values for all command arguments.

--quiet Suppress informational messages.