MCPcopy
hub / github.com/pallets/click / list_commands

Method list_commands

src/click/core.py:2106–2112  ·  view source on GitHub ↗
(self, ctx: Context)

Source from the content-addressed store, hash-verified

2104 return None
2105
2106 def list_commands(self, ctx: Context) -> list[str]:
2107 rv: set[str] = set(super().list_commands(ctx))
2108
2109 for source in self.sources:
2110 rv.update(source.list_commands(ctx))
2111
2112 return sorted(rv)
2113
2114
2115def _check_iter(value: cabc.Iterable[V]) -> cabc.Iterator[V]:

Callers

nothing calls this directly

Calls 2

updateMethod · 0.80
list_commandsMethod · 0.45

Tested by

no test coverage detected