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.

clidatabase
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.

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 footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
20 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
mj12bot
1
ahrefsbot
1
Resources