phase5-pipeline

This commit is contained in:
ldy
2026-06-18 00:02:58 -04:00
parent ed3ec1d2c6
commit 91cf930a5f
4 changed files with 1186 additions and 22 deletions

View File

@@ -46,8 +46,13 @@ def build_parser() -> argparse.ArgumentParser:
def main(argv: list[str] | None = None) -> int:
args = build_parser().parse_args(argv)
print("jobsource: scaffold stub -- pipeline not implemented yet.", file=sys.stderr)
print(f"parsed args: {vars(args)}", file=sys.stderr)
from jobsource.pipeline import run_batch # deferred: keeps --help fast before heavy deps
run_batch(
batch_size=args.batch_size,
search_terms=args.search, # None or list[str] from --search repeats
location=args.location,
hours_old=args.hours_old,
)
return 0