(value: bool)
| 54 | |
| 55 | |
| 56 | def version_callback(value: bool): |
| 57 | if value: |
| 58 | try: |
| 59 | # Check that the python bindings are properly built and can be loaded at runtime |
| 60 | from map_closures.pybind import map_closures_pybind |
| 61 | except ImportError as e: |
| 62 | print(f"[ERRROR] Python bindings not properly built!") |
| 63 | print(f"[ERRROR] '{e}'") |
| 64 | raise typer.Exit(1) |
| 65 | |
| 66 | import map_closures |
| 67 | |
| 68 | print(f"[INFO] MapClosures Version: {map_closures.__version__}") |
| 69 | raise typer.Exit(0) |
| 70 | |
| 71 | |
| 72 | def name_callback(value: str): |
nothing calls this directly
no outgoing calls
no test coverage detected