MCPcopy
hub / github.com/HKUDS/OpenHarness / help_text

Method help_text

src/openharness/commands/registry.py:154–160  ·  view source on GitHub ↗

Return a formatted summary of all registered commands.

(self)

Source from the content-addressed store, hash-verified

152 return command, args.strip()
153
154 def help_text(self) -> str:
155 """Return a formatted summary of all registered commands."""
156 lines = ["Available commands:"]
157 commands = [self._commands[name] for name in self._canonical_names]
158 for command in sorted(commands, key=lambda item: item.name):
159 lines.append(f"/{command.name:<12} {command.description}")
160 return "\n".join(lines)
161
162 def list_commands(self) -> list[SlashCommand]:
163 """Return canonical commands in registration order (aliases omitted)."""

Callers 3

test_commands_registryFunction · 0.95
_help_handlerFunction · 0.80

Calls

no outgoing calls