(engine: FastgrindQueryEngine, input_path: Path, output: str | None)
| 2890 | |
| 2891 | |
| 2892 | def export_html_command(engine: FastgrindQueryEngine, input_path: Path, output: str | None) -> None: |
| 2893 | output_path = Path(output) if output else input_path.with_suffix(".html") |
| 2894 | engine.export_html_snapshot(output_path) |
| 2895 | print(f"HTML written: {output_path}") |
| 2896 | |
| 2897 | |
| 2898 | def default_trace_path() -> Path: |
no test coverage detected