()
| 61 | |
| 62 | |
| 63 | def main() -> None: |
| 64 | parser = argparse.ArgumentParser( |
| 65 | description="""Transform a .d file from Wine paths to normal paths""" |
| 66 | ) |
| 67 | parser.add_argument( |
| 68 | "d_file", |
| 69 | help="""Dependency file in""", |
| 70 | ) |
| 71 | parser.add_argument( |
| 72 | "d_file_out", |
| 73 | help="""Dependency file out""", |
| 74 | ) |
| 75 | args = parser.parse_args() |
| 76 | |
| 77 | output = import_d_file(args.d_file) |
| 78 | |
| 79 | with open(args.d_file_out, "w", encoding="UTF-8") as f: |
| 80 | f.write(output) |
| 81 | |
| 82 | |
| 83 | if __name__ == "__main__": |
no test coverage detected