(arguments)
| 35 | |
| 36 | |
| 37 | def main(arguments): |
| 38 | if len(arguments) != 3: |
| 39 | print(f"Usage: {arguments[0]} <dilate executable folder> <check folder>") |
| 40 | return 1 |
| 41 | |
| 42 | dilate_path = arguments[1] |
| 43 | check_path = arguments[2] |
| 44 | |
| 45 | errors = check_dir(dilate_path, check_path) |
| 46 | if errors > 0: |
| 47 | return 1 |
| 48 | |
| 49 | print(f"Success: All .png files in '{check_path}' are dilated.") |
| 50 | return 0 |
| 51 | |
| 52 | |
| 53 | if __name__ == "__main__": |
no test coverage detected