Registry / cli / wp-cli-db-command

wp-cli-db-command

JSON →
library2.1.6phppackagistunverified

Performs basic database operations using credentials stored in wp-config.php.

composer require wp-cli/db-command
INSTALL
IMPORT
SIG · WP-CLI-DB-COMMAND
W
wp-cli-db-command
cliphpv2.1.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DBCommand
use WP_CLI\Commands\DBCommand;

Export WordPress database tables via WP-CLI.

use WP_CLI\Commands\DBCommand; $command = new DBCommand(); $command->export(['--tables=wp_posts']);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.6latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
OpenAI (training)
1
Resources
wp-cli-db-command — pip install wp-cli-db-command · libregistry