()
| 127 | |
| 128 | |
| 129 | def main(): |
| 130 | # parse arguments |
| 131 | args = parse_args() |
| 132 | |
| 133 | text2bin(args.text_input_path, args.bin_output_path) |
| 134 | print(f"Successfully converted {args.text_input_path} to {args.bin_output_path}") |
| 135 | |
| 136 | # To avoid potential read/write errors, the metadata preparation follows after creating the .bin file. |
| 137 | prepare_meta(args.bin_output_path) |
| 138 | print(f"Successfully generated {args.bin_output_path}.meta") |
| 139 | |
| 140 | |
| 141 | if __name__ == "__main__": |
no test coverage detected