Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading