INNER CODE UNIT · Python

_cmd_summarize_run

hadriansecurity/OpenHack · src/openhack/cli.py:205

def _cmd_summarize_run(args: argparse.Namespace) -> None:
    print("\n".join(summarize_run(args.target, args.run_id)))


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:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…