CLI commands and flags
Faultline runs bounded HTTP scenarios against literal loopback targets.
Usage:
faultline help
faultline version
faultline run <scenario> [--dry-run] [--format text|json] [--report FILE]
faultline plan <scenario> [--format text|json] [--report FILE]
faultline replay <scenario> --from REPORT [--format text|json] [--report FILE]
faultline ui [--report FILE] [--port PORT] [--open]
faultline demo [--mode buggy|fixed|race-buggy|race-fixed] [--port PORT]
Use faultline run --help for command details.faultline help <command> or faultline <command> --help shows command-specific usage for run, plan, replay, demo, and ui. The top-level help and version commands also accept --help and --version.
| Flag | Behavior |
|---|---|
--dry-run |
Validate and plan a run without connecting. Text prints a redacted preview. JSON produces the same report as plan. |
--format text|json |
Choose stdout format. plan defaults to JSON. run and replay default to text. |
--report FILE |
For run, plan, and replay, write a new report file on Unix. For ui, load a report at startup. |
--from REPORT |
Required for replay. Check the saved plan against the supplied scenario before delivery. |
--mode MODE |
Choose the bundled demo backend. The default is fixed. |
--port PORT |
Listen on IPv4 loopback. demo defaults to 8080 and ui defaults to 0. Port 0 lets the OS choose. |
--open |
Ask the system to open the inspector URL in a browser. |
Summaries go to stdout. Usage, setup, and validation diagnostics go to stderr.
Exit codes
| Code | Meaning |
|---|---|
0 |
Completed delivery with PASS or NOT_EVALUATED. Also help, version, valid dry-run or plan, and clean demo or inspector shutdown. |
1 |
Inconclusive verification, runtime or output failure, or invalid scenario or report. |
2 |
Invalid CLI usage. |
3 |
Verification FAIL from a delivery status or state assertion mismatch. |
130 |
Delivery or verification canceled, including by Ctrl+C. |