astappiev/wp-sync-cli

A WP-CLI command to sync dev and production WordPress sites.

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:wp-cli-package

pkg:composer/astappiev/wp-sync-cli

v0.0.2 2025-06-09 19:32 UTC

This package is auto-updated.

Last update: 2025-10-09 20:13:53 UTC


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]