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.

BehaviorDetails
statusprints JSON dataset status and returns 0
runprints stage report list; returns 1 if failures
verifyprints summary; returns 0 if report ok else 1
list-legacyprints 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).