CLI
Craft-native commands are available under craft agents/*.
Commands
php craft agents/product-listphp craft agents/order-listphp craft agents/order-showphp craft agents/entry-listphp craft agents/entry-showphp craft agents/section-listphp craft agents/auth-checkphp craft agents/readiness-checkphp craft agents/reliability-checkphp craft agents/lifecycle-reportphp craft agents/starter-packsphp craft agents/diagnostics-bundlephp craft agents/smoke
Output modes
- default: human-readable text
- machine mode: add
--json=1
Examples
bash
php craft agents/product-list --status=live --limit=10
php craft agents/order-list --status=shipped --last-days=14 --limit=20
php craft agents/order-show --number=A1B2C3D4
php craft agents/entry-list --section=news --status=live --limit=20
php craft agents/entry-show --slug=shipping-information
php craft agents/auth-check --json=1
php craft agents/readiness-check --json=1
php craft agents/reliability-check --json=1
php craft agents/lifecycle-report --json=1
php craft agents/lifecycle-report --strict=1 --json=1
php craft agents/starter-packs --json=1
php craft agents/starter-packs --template-id=catalog-sync-loop --json=1
php craft agents/diagnostics-bundle --json=1
php craft agents/smoke --json=1Identifier rules
order-show: use exactly one of--numberor--resource-identry-show: use exactly one of--slugor--resource-id