MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _cmd_backfill

Function _cmd_backfill

agents/wiki-agent/main.py:105–113  ·  view source on GitHub ↗
(args: argparse.Namespace)

Source from the content-addressed store, hash-verified

103
104
105def _cmd_backfill(args: argparse.Namespace) -> int:
106 if args.all:
107 result = backfill_ingest.backfill_all(dry_run=args.dry_run)
108 else:
109 if not args.user_id:
110 raise SystemExit("--user-id is required unless --all is set")
111 result = backfill_ingest.backfill_user(args.user_id, dry_run=args.dry_run)
112 print(json.dumps(result, ensure_ascii=False, indent=2) if args.json else result)
113 return 0
114
115
116def _cmd_monthly(args: argparse.Namespace) -> int:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected