-
Notifications
You must be signed in to change notification settings - Fork 3
WP CLI
Nick Hamze edited this page Feb 13, 2026
·
1 revision
WP Pinch includes a full set of WP-CLI commands for scripting, automation, and debugging.
Show connection status, registered abilities, and gateway health.
wp pinch status
wp pinch status --format=jsonList all registered abilities with their categories and enabled status.
wp pinch abilities list
wp pinch abilities list --format=json
wp pinch abilities list --format=csvFire a test webhook to verify your OpenClaw connection.
wp pinch webhook-testTrigger governance tasks manually (useful for testing or one-off runs).
wp pinch governance run # Run all tasks
wp pinch governance run --task=seo_health # Run a specific taskBrowse audit log entries.
wp pinch audit list
wp pinch audit list --format=json
wp pinch audit list --format=csv
wp pinch audit list --format=yamlAll list commands support the --format flag:
| Format | Description |
|---|---|
table |
Human-readable table (default) |
json |
JSON array |
csv |
Comma-separated values |
yaml |
YAML format |
#!/bin/bash
STATUS=$(wp pinch status --format=json | jq -r '.gateway.connected')
if [ "$STATUS" != "true" ]; then
echo "Gateway disconnected!" | mail -s "WP Pinch Alert" admin@example.com
fiwp pinch audit list --format=csv > audit-$(date +%Y-%m-%d).csvwp pinch governance run 2>&1 | tee governance-$(date +%Y-%m-%d).log