MCPcopy Index your code
hub / github.com/idank/explainshell / show_manpages

Function show_manpages

explainshell/manager.py:1138–1142  ·  view source on GitHub ↗

List manpages matching a source prefix.

(ctx: click.Context, prefix: str)

Source from the content-addressed store, hash-verified

1136@click.argument("prefix")
1137@click.pass_context
1138def 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")

Callers

nothing calls this directly

Calls 2

list_manpagesMethod · 0.95
_require_dbFunction · 0.85

Tested by

no test coverage detected