List command->manpage mappings.
(ctx: click.Context, prefix: str | None)
| 1146 | @click.option("--prefix", default=None, help="Filter by source prefix.") |
| 1147 | @click.pass_context |
| 1148 | def show_mappings(ctx: click.Context, prefix: str | None) -> None: |
| 1149 | """List command->manpage mappings.""" |
| 1150 | s = store.Store(_require_db(ctx, must_exist=True), read_only=True) |
| 1151 | for src, dst in s.mappings(): |
| 1152 | if prefix is None or dst.startswith(prefix): |
| 1153 | click.echo(f"{src} -> {dst}") |
| 1154 | |
| 1155 | |
| 1156 | @show.command("stats") |
nothing calls this directly
no test coverage detected