Free
WP-CLI commands
Manage bookings, inventory and the database from the command line.
| Command | Does |
|---|---|
wp tourivo booking list [--status=] [--limit=] [--format=] | List bookings (table, json, csv, yaml, ids, count). |
wp tourivo booking get <id> | Show one booking. |
wp tourivo booking set-status <id> <status> | pending, confirmed, completed, cancelled or on_hold — with inventory rollback. |
wp tourivo inventory <item_id> | Seats or units left. |
wp tourivo db migrate | Run database migrations. |
wp tourivo stats | Bookings, revenue and listings at a glance. |
$ wp tourivo booking list --status=pending --limit=5
$ wp tourivo booking set-status 45 confirmed
Success: Booking 45 is now confirmed.