tables clone

Make a clone of the Connections Directory database tables.

Examples

# List clone table names with the default `clone` table prefix.
wp connections_directory tables clone --list

# List clone table names with the `custom` table prefix.
wp connections_directory tables clone --list --prefix=custom

# List all clone tables names.
wp connections_directory tables clone --prefix=* --list

# List clone table names with the default `clone` table prefix in CSV format.
wp connections_directory tables clone --list --format=csv

# Create a set of clone tables for the Connections Directory tables with the default `clone` table prefix.
wp connections_directory tables clone

# Create a set of clone tables for the Connections Directory tables with the `custom` table prefix.
wp connections_directory tables clone --prefix=custom

# Drop a set of clone tables for the Connections Directory tables with the default `clone` table prefix.
wp connections_directory tables clone --clean

# Drop a set of clone tables for the Connections Directory tables with the `custom` table prefix.
wp connections_directory tables clone --prefix=custom --clean

Options

OptionDescription
--cleanDrop the clone tables.
--listList the clone table names.
--formatRender the list in a particular format.
default: list
options:
list
csv
--prefix=<value>The clone table prefix.
default: clone
--yesAnswer yes to the confirmation message.