@@ -431,11 +431,10 @@ aicr validate [flags]
431431| Flag | Short | Type | Description |
432432| ------| -------| ------| -------------|
433433| ` --recipe ` | ` -r ` | string | Path/URI to recipe file containing constraints (required) |
434- | ` --snapshot ` | ` -s ` | string | Path/URI to snapshot file containing measurements (required ) |
434+ | ` --snapshot ` | ` -s ` | string | Path/URI to snapshot file containing measurements (omit to capture live ) |
435435| ` --phase ` | | string | Validation phase to run: deployment, performance, conformance, all (default: all) |
436436| ` --fail-on-error ` | | bool | Exit with non-zero status if any constraint fails (default: true) |
437437| ` --output ` | ` -o ` | string | Output destination (file or stdout, default: stdout) |
438- | ` --format ` | ` -t ` | string | Output format: json, yaml, table (default: yaml) |
439438| ` --kubeconfig ` | ` -k ` | string | Path to kubeconfig file (for ConfigMap URIs) |
440439
441440** Input Sources:**
@@ -525,12 +524,6 @@ aicr validate \
525524 --snapshot snapshot.yaml \
526525 --phase performance
527526
528- # JSON output format
529- aicr validate \
530- --recipe recipe.yaml \
531- --snapshot snapshot.yaml \
532- --format json
533-
534527# With custom kubeconfig
535528aicr validate \
536529 --recipe recipe.yaml \
@@ -618,8 +611,8 @@ Results are output in CTRF (Common Test Report Format) — an industry-standard
618611| Code | Description |
619612| ------| -------------|
620613| ` 0 ` | All checks passed |
621- | ` 1 ` | One or more checks failed (when ` --fail-on-error ` is set ) |
622- | ` 2 ` | Invalid input (bad flags, missing recipe/snapshot ) |
614+ | ` 2 ` | Invalid input (bad flags, missing recipe ) |
615+ | ` 8 ` | One or more checks failed (when ` --fail-on-error ` is set ) |
623616
624617---
625618
0 commit comments