WP-CLI Reference
WP-CLI Reference
Installation Check
wp cybermaps status
Outputs plugin version, active endpoints, and configuration summary.
Cache Management
wp cybermaps clear_cache
Deletes all plugin transients and regenerates sitemaps.
wp cybermaps flush_rules
Flushes WordPress rewrite rules (useful after changing the sitemap base slug).
Sitemap Regeneration
wp cybermaps regenerate
Triggers immediate static file sync. Equivalent to clicking the admin “Regenerate” button.
Discovery Health
wp cybermaps health
Outputs a table of all 14 discovery endpoints with their current status:
Discovery Health:
Overall: Healthy
Active endpoints: 14
Sync status: synced
Last sync: 2026-05-26T17:17:00+00:00
Endpoints:
healthy llms.txt
healthy llms-full.txt
healthy ai.json
healthy knowledge-graph.json
healthy ai-sitemap.xml
Bot Activity Logs
# Last 7 days, all bots
wp cybermaps logs
# Last 30 days, GPTBot only
wp cybermaps logs --days=30 --bot=GPTBot
# Last 24 hours, last 50 entries
wp cybermaps logs --days=1 --limit=50
Output:
+---------------------+----------+-------------+---------------------------+
| time | bot | category | url |
+---------------------+----------+-------------+---------------------------+
| 2026-05-26 17:17:00 | GPTBot | AI_TRAINING | /llms.txt |
| 2026-05-26 16:45:00 | Claude | AI_TRAINING | /.well-known/ai.json |
+---------------------+----------+-------------+---------------------------+
Settings Export/Import
# Export discovery settings as JSON
wp cybermaps export --tab=discovery
# Export as Markdown (for documentation)
wp cybermaps export --tab=sitemaps --format=markdown
# Import from JSON file
wp cybermaps import /path/to/config.json --tab=robots
# Dry-run import (preview changes)
wp cybermaps import /path/to/config.json --tab=discovery --dry-run
# Backup all tabs
wp cybermaps backup --dir=/tmp/cybermaps-backups