Note: This command is not part of a stable WP-CLI release yet. To use it now, switch to the nightly build with wp cli update --nightly. If you installed the command as a separate package, updating that package may be enough.
Examples
# Restore a post revision
$ wp post revision restore 123
Success: Restored revision 123.
# Show diff between two revisions
$ wp post revision diff 123 456
Subcommands
| Name | Description |
|---|---|
| wp post revision diff | Shows the difference between two revisions. |
| wp post revision prune | Deletes old post revisions. |
| wp post revision restore | Restores a post revision. |