Skip to content

Commit a0e343f

Browse files
authored
Merge pull request #8 from szepeviktor/patch-1
Add a Run all commands section to README
2 parents ac3f267 + 97a49f5 commit a0e343f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Orphan Command provides a new WP-CLI command, `wp orphan`, that lets you easily
3737
* [`wp orphan revision`](#wp-orphan-revision)
3838
* [`wp orphan term meta`](#wp-orphan-term-meta)
3939
* [`wp orphan user meta`](#wp-orphan-user-meta)
40+
* [Run all commands](#run-all-commands)
4041
* [Extending Orphan Command](#extending-orphan-command)
4142
* [Frequently Asked Questions](#frequently-asked-questions)
4243

@@ -281,6 +282,18 @@ wp orphan user meta list
281282
wp orphan user meta delete
282283
```
283284

285+
### Run all commands
286+
287+
```shell
288+
wp core is-installed --network && wp orphan blog meta list
289+
wp orphan comment list
290+
wp orphan post list
291+
wp orphan post meta list
292+
wp orphan revision list
293+
wp orphan term meta list
294+
wp orphan user meta list
295+
```
296+
284297
## Extending Orphan Command
285298

286299
If you want to customize or extend the functionality of Orphan Command, you can either extend any of the actual command classes, or you could write your own based on either the `Orphan_Command` or `Orphan_Meta_Command` class included in Orphan Command.

0 commit comments

Comments
 (0)