CLI commands
Run them with php artisan. prune-versions, reindex-media and prune-proxy-cache also run weekly on October's scheduler (php artisan schedule:run in cron).
renick:content:prune-versions
Deletes unpinned versions older than --days (default 180). Pinned versions are never deleted. Every save also keeps only the newest 50 unpinned versions per field (renick.content::versions.keep).
renick:content:reset-audit
Empties the audit log and with it the version history, which shares its table. Asks for confirmation (--force skips it); --keep-pinned keeps pinned versions.
renick:content:reindex-media
Rebuilds the media usage index behind the media delete protection from the current documents. Lists up to 20 referenced paths that are missing on the media disk.
renick:content:export-bundle / import-bundle
Moves a document with its media files as a ZIP, see Import & Export:
php artisan renick:content:export-bundle --host="Tailor\Models\EntryRecord" --section="Content\Article" --id=42 --out=page.zip
php artisan renick:content:import-bundle --host="Tailor\Models\EntryRecord" --section="Content\Article" --id=43 --in=page.zip--host must be on the host-type allowlist. --section is required when the id exists in several blueprints. Other options: --field (default content), --out (default ./content-bundle-<id>.zip), --dry-run, and for import --overwrite-media and --force (skips the confirmation).
renick:content:prune-proxy-cache
Deletes cached map tiles older than 7 days and video thumbnails older than 30 days (config/proxy.php). --tile-days and --thumb-days override this for one run.
renick:content:reset-map-tiles
Deletes all cached map tiles, like Reset map tiles now under Settings → Content → Content Editor → Performance → Map tiles. Asks in an interactive shell (--force skips it). RENICK_CONTENT_TILE_CACHE_LIMIT_MB sets the default tile cache limit (1 GB).
renick:content:clear-cache
Clears the render cache (content, entry lists, theme chrome), like Clear cache now on the same settings tab.
renick:content:seed-demo
Creates or updates a demo entry (slug renick-content-demo) that tours the block set. Requires Tailor; --section sets the blueprint (default Content\Article). Its images point to /samples/*.jpg, which the plugin does not ship.
renick:content:repair-site-copies
Gives multisite copies of structure entries, such as Dawn pages, the slug and full slug they were propagated without, so they stop returning 404 and stop showing up as /default links. Copies get repaired on their own when they or their page are saved; the command covers existing ones. It is safe to run repeatedly and changes nothing when every copy is complete.
renick:content:mall-scaffold
Copies the shop layout and the seven pages OFFLINE.Mall needs into a theme and fills Mall's empty page settings, see Hosting the field. Options: --theme (default: active theme), --dry-run, --force (overwrites files and linked settings), --no-link (leaves Mall's settings alone).