pystamps.cli
main()
def main() -> int
CLI entrypoint for argument parsing and dispatch.
Return: process exit code: 0 success, 1 for failed run or failed verification.
Exceptions: SystemExit on config/argument issues.
| Behavior | Details |
|---|---|
| status | prints JSON dataset status and returns 0 |
| run | prints stage report list; returns 1 if failures |
| verify | prints summary; returns 0 if report ok else 1 |
| list-legacy | prints list of legacy scripts |
Command surface (documented)
- pystamps run --dataset PATH [--start-step int] [--end-step int] [--dry-run] [--io-workers int] [--cpu-workers int]
- pystamps status --dataset PATH
- pystamps verify --run PATH --golden PATH
- pystamps list-legacy [--stamps-root PATH]
Inferred
Private helpers _cmd_status, _cmd_run, _cmd_verify, _cmd_list_legacy are internal (underscore-prefixed).