astappiev / wp-sync-cli
This package is abandoned and no longer maintained.
No replacement package was suggested.
A WP-CLI command to sync dev and production WordPress sites.
Package info
github.com/astappiev/wp-sync-cli
Type:wp-cli-package
pkg:composer/astappiev/wp-sync-cli
v0.0.2
2025-06-09 19:32 UTC
Requires
- php: >=8.0
- wp-cli/wp-cli: ^2.12
README
A WP-CLI command to sync dev and production WordPress sites.
Installation
To install the plugin:
composer require astappiev/wp-sync-cli
Using
Create a file named wp-cli.yml WordPress directory and add remote environment there:
@production: ssh: reiki@school.silkwayreiki.com path: /home/reiki/learn/
Run wp pull from the project root. production environment will be used by default, you can specify another environment by passing its name as first argument.
wp pull [env_name] [--backup_dir] [--plugins_activate] [--plugins_deactivate] [--upload_dir] [--exclude_dirs]