refactor(clew): rename AST extraction disable flag
This commit is contained in:
@@ -38,7 +38,7 @@ def parse_args(argv: list[str]) -> argparse.Namespace:
|
|||||||
help="Replace Clew-managed output directories.",
|
help="Replace Clew-managed output directories.",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--no-ast-dump",
|
"--no-extract-renpy-ast",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Skip dumping compiled scripts from output/extracted/ to output/ast-raw/.",
|
help="Skip dumping compiled scripts from output/extracted/ to output/ast-raw/.",
|
||||||
)
|
)
|
||||||
@@ -162,7 +162,7 @@ def run(args: argparse.Namespace) -> None:
|
|||||||
extracted = get_output_directory(output_root, "extracted")
|
extracted = get_output_directory(output_root, "extracted")
|
||||||
extract_game_files(game_root, extracted)
|
extract_game_files(game_root, extracted)
|
||||||
|
|
||||||
if not args.no_ast_dump:
|
if not args.no_extract_renpy_ast:
|
||||||
extract_game_ast(output_root, extracted, args.overwrite)
|
extract_game_ast(output_root, extracted, args.overwrite)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user