mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 18:47:53 -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
@@ -32,6 +32,7 @@ from pathlib import Path
|
||||
|
||||
from model import releaserecord
|
||||
from core.cli import require_directory
|
||||
from core.paths import PLATFORMS_DIR
|
||||
from core.artifacts import write_text_atomic
|
||||
from release.notes import (
|
||||
changelog_url,
|
||||
@@ -49,7 +50,7 @@ def main() -> int:
|
||||
help="release record (default: %(default)s)")
|
||||
parser.add_argument("--whats-new", required=True, type=Path,
|
||||
help="what changed since the previous release, written by hand")
|
||||
parser.add_argument("--platforms-dir", default="platforms",
|
||||
parser.add_argument("--platforms-dir", default=PLATFORMS_DIR,
|
||||
help="registry read for each pack's extract folder (default: %(default)s)")
|
||||
parser.add_argument("--thanks", type=Path,
|
||||
help="checked Thanks lines to print instead of the ones gh gives")
|
||||
|
||||
Reference in new issue
Block a user