List manpages matching a source prefix.
(ctx: click.Context, prefix: str)
| 1136 | @click.argument("prefix") |
| 1137 | @click.pass_context |
| 1138 | def show_manpages(ctx: click.Context, prefix: str) -> None: |
| 1139 | """List manpages matching a source prefix.""" |
| 1140 | s = store.Store(_require_db(ctx, must_exist=True), read_only=True) |
| 1141 | for source in s.list_manpages(prefix): |
| 1142 | click.echo(source) |
| 1143 | |
| 1144 | |
| 1145 | @show.command("mappings") |
nothing calls this directly
no test coverage detected