From 1b0e4dc177f5c28808152e128d157a02be7b4878 Mon Sep 17 00:00:00 2001 From: PrinceThummar011 Date: Thu, 6 Aug 2026 17:51:18 +0530 Subject: [PATCH] docs(cli): document CLI exit codes (#107) --- docs/cli.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/cli.md b/docs/cli.md index 3747636..1944f55 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -213,16 +213,19 @@ oaeval completion zsh >> ~/.zshrc oaeval completion fish > ~/.config/fish/completions/oaeval.fish ``` -## Exit codes +## Exit Codes + +The CLI returns the following exit codes so scripts and CI/CD pipelines can check command results. | Code | Meaning | | --- | --- | | `0` | Success | -| `1` | Runtime or configuration error | +| `1` | General or runtime error | | `2` | Invalid CLI usage or configuration error | | `3` | Dataset error | | `4` | Provider error | | `5` | Metric error | +| `6` | Corpus error | ## Config auto-discovery