Skip to content

Commit 01f4795

Browse files
Copilotnlemoine
andcommitted
Add examples for new content type sync options
Co-authored-by: nlemoine <2526939+nlemoine@users.noreply.github.com>
1 parent e37fb95 commit 01f4795

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,32 @@ Push your local content to your staging environment:
9999
wp move push staging
100100
```
101101

102+
### Syncing specific content types
103+
104+
Pull only themes from production:
105+
106+
```sh
107+
wp move pull production --themes
108+
```
109+
110+
Push only plugins to staging:
111+
112+
```sh
113+
wp move push staging --plugins
114+
```
115+
116+
Sync multiple content types at once:
117+
118+
```sh
119+
wp move pull production --themes --plugins --mu-plugins
120+
```
121+
122+
Sync everything (database, uploads, themes, plugins, mu-plugins, and languages):
123+
124+
```sh
125+
wp move pull production --db --uploads --themes --plugins --mu-plugins --languages
126+
```
127+
102128
## Credits
103129

104130
This WP-CLI package aims to replace the (still working but unmaintained) awesome [Wordmove](https://github.com/welaika/wordmove) Ruby gem 💎. It has been a time and life saver for many years. I'll be forever grateful to [@alessandro-fazzi](https://github.com/alessandro-fazzi) for creating it! 🙌

0 commit comments

Comments
 (0)