mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-25 10:58:52 -06:00
refactor: read input paths from core.paths
This commit is contained in:
1 parent
9f9fe2bfec
commit
49a8ed801e
10 files changed
+30
-25
No files matched your search
@@ -14,6 +14,7 @@ import argparse
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
from core.paths import PLATFORMS_DIR
|
||||
from sitegen.validate import validate_site
|
||||
|
||||
|
||||
@@ -32,7 +33,7 @@ def main() -> None:
|
||||
help="the path the site is served under (default: %(default)s)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--platforms-dir", default="platforms", type=Path,
|
||||
"--platforms-dir", default=PLATFORMS_DIR, type=Path,
|
||||
help="registry whose platforms each need a get/ page (default: %(default)s)",
|
||||
)
|
||||
parser.add_argument(
|
||||
|
||||
Reference in new issue
Block a user