From 711c47d8c9ecae5cd25b3531bfe7c7bf9686401f Mon Sep 17 00:00:00 2001 From: Grant Whitmer Date: Wed, 12 Aug 2026 22:43:22 -0400 Subject: [PATCH] fix: the --all-as-mirrors flag itself was never added The function landed but the argparse anchor did not match the real formatting, so the command existed and could not be invoked. Caught by running it rather than assuming the patch applied. Co-Authored-By: Claude Opus 5 --- scripts/import_from_github.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/import_from_github.py b/scripts/import_from_github.py index 9616bc2..3e28f53 100755 --- a/scripts/import_from_github.py +++ b/scripts/import_from_github.py @@ -207,6 +207,10 @@ def main() -> int: "--mirror", action="store_true", help="import read-only pull mirrors instead of writable repos. NOTE: mirrors CANNOT run CI.", ) + ap.add_argument( + "--all-as-mirrors", action="store_true", + help="bulk DR copy: every active repo on the account, read-only, no CI, zero deploy risk", + ) args = ap.parse_args() if args.list_candidates: