DocsOIntelWP-CLI Commands
Developer

WP-CLI Commands

OIntelorravo.com/docs/ointel/wp-cli-commands

All commands are under the wp ointel namespace.

wp ointel scan

Run a full health scan.

bashwp ointel scan
wp ointel scan --format=json

Options:

  • --format=<format> — Output format: table (default), json, yaml

Output (table):

+----------+--------+
| Field    | Value  |
+----------+--------+
| Score    | 87/100 |
| Critical | 0      |
| Warnings | 3      |
| Checks   | 28     |
| Duration | 1240ms |
| Scan ID  | 42     |
+----------+--------+

wp ointel snapshot

Take a site snapshot.

bashwp ointel snapshot
wp ointel snapshot "Before plugin update"

Arguments:

  • [<label>] — Optional label for the snapshot

wp ointel report

Generate a full HTML report.

bashwp ointel report
wp ointel report --file=/tmp/report.html

Options:

  • --file=<file> — Write HTML to a file (default: stdout)

wp ointel snapshots

List recent snapshots.

bashwp ointel snapshots
wp ointel snapshots --limit=20

WP-CLI Commands — OIntel Docs — Orravo