CLI Reference¶
Usage¶
caelum [OPTIONS] [SPEC]
caelum <COMMAND> [OPTIONS] <SPEC>
When no subcommand is given, caelum <spec>.lum is equivalent to caelum check <spec>.lum.
Commands¶
check¶
Parse, validate, build the transition system, and check all properties.
caelum check spec.lum
caelum check --format json spec.lum
caelum check --show-trace spec.lum
parse¶
Parse the specification and report any syntax errors. Does not build the model or check properties.
caelum parse spec.lum
caelum parse --format json spec.lum
fmt¶
Parse and print the specification in normalized form.
caelum fmt spec.lum
caelum fmt --print-keywords spec.lum
caelum fmt --print-ascii-operators spec.lum
caelum fmt --print-unicode-operators spec.lum
Formatting is idempotent: formatting an already-formatted file produces identical output.
Options¶
Flag |
Description |
|---|---|
|
Output format (default: |
|
Display counterexample traces on failure |
|
Print the reachable transition graph |
|
Limit state exploration (default: 100,000) |
|
Additional import search directories |
|
Format with keyword operators ( |
|
Format with ASCII operators ( |
|
Format with Unicode operators ( |
Exit Codes¶
Code |
Meaning |
|---|---|
0 |
The specification parsed and all checks passed |
1 |
One or more properties failed |
2 |
Parse error |
3 |
Semantic validation error |
4 |
Import or file loading error |
5 |
Model construction error |
6 |
Internal error |
If multiple error classes occur, the earliest pipeline stage determines the exit code.