refactor: read input paths from core.paths

This commit is contained in:
Abdessamad Derraz committed 2026-11-21 06:04:08 +01:00
1 parent 9f9fe2bfec
commit 49a8ed801e
10 files changed
+30 -25

No files matched your search

+2 -1
View File
@@ -9,6 +9,7 @@ import argparse
import sys
from pathlib import Path
from core.paths import EMULATORS_DIR
from sitegen.sources import SOURCE_PATHS, TREE_CACHE, refresh_record
@@ -26,7 +27,7 @@ def main() -> int:
help="fetch a tree no cache holds into the last --cache-dir",
)
parser.add_argument(
"--emulators-dir", default="emulators",
"--emulators-dir", default=EMULATORS_DIR,
help="profiles whose citations are checked (default: %(default)s)",
)
parser.add_argument(