DocsOMobileWP-CLI Reference
Developer

WP-CLI Reference

OMobileorravo.com/docs/omobile/wp-cli-reference

All commands use the wp omobile prefix.

bash# Show plugin status and diagnostics
wp omobile status

# Generate + store a new JWT secret in wp_options
wp omobile generate-secret

# Create an API key
wp omobile create-api-key --name="My App"

# Seed demo data
wp omobile seed-demo

# Clear demo data
wp omobile clear-demo

# Run telemetry rollup immediately
wp omobile rollup

# Run retention sweep (delete old logs beyond retention period)
wp omobile sweep

# Dispatch pending push notifications immediately
wp omobile dispatch-push

# Print analytics summary (last 30d)
wp omobile analytics

# Create a config snapshot
wp omobile snapshot --label="Before release"

WP-CLI Reference — OMobile Docs — Orravo