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

Function show_sections

explainshell/manager.py:1128–1132  ·  view source on GitHub ↗

List sections for a distro/release.

(ctx: click.Context, distro: str, release: str)

Source from the content-addressed store, hash-verified

1126@click.argument("release")
1127@click.pass_context
1128def show_sections(ctx: click.Context, distro: str, release: str) -> None:
1129 """List sections for a distro/release."""
1130 s = store.Store(_require_db(ctx, must_exist=True), read_only=True)
1131 for section in s.list_sections(distro, release):
1132 click.echo(section)
1133
1134
1135@show.command("manpages")

Callers

nothing calls this directly

Calls 2

list_sectionsMethod · 0.95
_require_dbFunction · 0.85

Tested by

no test coverage detected