Serve a HTML file with monitoring and profiling report for the given directory
(
directory: Path = typer.Argument(..., exists=True, file_okay=False),
port: int = 5555,
)
| 19 | |
| 20 | @cluster.command("serve") |
| 21 | def cluster_serve( |
| 22 | directory: Path = typer.Argument(..., exists=True, file_okay=False), |
| 23 | port: int = 5555, |
| 24 | ): |
| 25 | """Serve a HTML file with monitoring and profiling report for the given directory""" |
| 26 | report = ClusterReport.load(directory) |
| 27 | serve_cluster_report(report, port=port) |
| 28 | |
| 29 | |
| 30 | @cluster.command("generate") |
nothing calls this directly
no test coverage detected