refactor(clew): clarify AST dump orchestration

This commit is contained in:
2026-09-07 18:22:37 -04:00
parent 774686d614
commit 6ddad22449

View File

@@ -122,7 +122,7 @@ def run_ast_dump(game_root: Path, script: Path, output: Path) -> None:
subprocess.run(command, check=True)
def dump_ast(output_root: Path, extracted_root: Path, overwrite: bool) -> None:
def orchestrate_ast_dump(output_root: Path, extracted_root: Path, overwrite: bool) -> None:
game_roots = find(
extracted_root,
lambda path: (
@@ -163,7 +163,7 @@ def run(args: argparse.Namespace) -> None:
extract_game_files(game_root, extracted)
if not args.no_ast_dump:
dump_ast(output_root, extracted, args.overwrite)
orchestrate_ast_dump(output_root, extracted, args.overwrite)
if __name__ == "__main__":