beapi / wp-cli-site-duplicator-command
A WP-CLI command for duplicating a site (blog) on a WordPress mutisite network
Installs: 161
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 1
Type:wordpress-plugin
Requires
- php: >=5.6.0
- composer/installers: ~1.0
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^0.6.2
- overtrue/phplint: ^2.0
- php-parallel-lint/php-parallel-lint: ^1.2
- phpcompatibility/php-compatibility: ^9.3
- phpro/grumphp-shim: ^0.18.0
- roave/security-advisories: dev-master
- sensiolabs/security-checker: ^6.0
- squizlabs/php_codesniffer: ^3.5
- vimeo/psalm: ^3.11
- wp-cli/wp-cli-bundle: *
- wp-coding-standards/wpcs: ^2.2
This package is auto-updated.
Last update: 2021-02-28 19:59:16 UTC
README
For multisite only. Introduces a WP-CLI command for duplicating a site on a WordPress multisite network.
Install and activate as a normal plugin. Then in the command line, from your site's root directory, run wp help
. You should see duplicate
as a registered command, then you can continue.
Installation
wp plugin install https://github.com/beapi/site-duplicator/archive/master.zip --activate-network
Usage
Duplicate your current site:
wp site duplicate <new-site-slug>
Duplicate a specific site on the network:
wp site duplicate <new-site-slug> --url=domain.tld/somesite
Additional options
For a little extra output add --verbose