WP-CLI commands to perform various actions on the database.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/WpCliCommand
.gitignore
LICENSE
README.md
composer.json
wp-db-tools-cli.php

README.md

WP DB tools for WP-CLI

Provides commands to manipulate database tables.

Work in progress.

Commands

$ wp db-table copy <TABLE> <NEW_TABLE> [--content]

Upcoming commands

$ wp db-table delete <TABLE> [--no_confirm]
$ wp db-table create < table_schema.json

Installation

Clone the repository and run composer:

$ git clone git@github.com:inpsyde/wp-db-tools-cli.git && cd wp-db-tools-cli
$ composer install --prefer-dist --optimize-autoloader