INNER CODE UNIT · Python
_cmd_validate_run
hadriansecurity/OpenHack · src/openhack/cli.py:209
def _cmd_validate_run(args: argparse.Namespace) -> None:
errors = validate_run(args.target, args.run_id)
if errors:
print("\n".join(errors))
raise SystemExit(1)
scope = f"{args.target}/{args.run_id}" if args.target and args.run_id else "repository"
print(format_checkpoint(
"Validate",
f"Validation passed for {scope}.",
review="Use summarize-run for the final run counts before handoff.",
))
def build_parser() -> argparse.ArgumentParser:
parser = argparse.ArgumentParser(prog="openhack")
parser.add_argument(
"--version",
action="version",