(ctx: typer.Context, language: str)
| 101 | |
| 102 | @cli.command() |
| 103 | def fix_all(ctx: typer.Context, language: str): |
| 104 | docs = get_all_paths(language) |
| 105 | |
| 106 | all_good = True |
| 107 | for page in docs: |
| 108 | doc_path = Path("docs") / language / "docs" / page |
| 109 | res = process_one_page(doc_path) |
| 110 | all_good = all_good and res |
| 111 | |
| 112 | if not all_good: |
| 113 | raise typer.Exit(code=1) |
| 114 | |
| 115 | |
| 116 | @cli.command() |
nothing calls this directly
no test coverage detected