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

Function show_distros

explainshell/manager.py:1117–1121  ·  view source on GitHub ↗

List available distributions.

(ctx: click.Context)

Source from the content-addressed store, hash-verified

1115@show.command("distros")
1116@click.pass_context
1117def show_distros(ctx: click.Context) -> None:
1118 """List available distributions."""
1119 s = store.Store(_require_db(ctx, must_exist=True), read_only=True)
1120 for distro, release in s.distros():
1121 click.echo(f"{distro}/{release}")
1122
1123
1124@show.command("sections")

Callers

nothing calls this directly

Calls 2

distrosMethod · 0.95
_require_dbFunction · 0.85

Tested by

no test coverage detected