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

Method _generate_cmd_group_name

explainshell/matcher.py:115–117  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

113 self.functions = set()
114
115 def _generate_cmd_group_name(self):
116 existing = len([g for g in self.groups if g.name.startswith("command")])
117 return f"command{existing}"
118
119 @property
120 def matches(self):

Callers 1

startcommandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected