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

Class SlashCommand

src/openharness/commands/registry.py:115–123  ·  view source on GitHub ↗

Definition of a slash command.

Source from the content-addressed store, hash-verified

113
114@dataclass
115class SlashCommand:
116 """Definition of a slash command."""
117
118 name: str
119 description: str
120 handler: CommandHandler
121 remote_invocable: bool = True
122 remote_admin_opt_in: bool = False
123 aliases: tuple[str, ...] = ()
124
125
126class CommandRegistry:

Callers 4

test_commands_registryFunction · 0.90
fake_build_runtimeFunction · 0.90

Calls

no outgoing calls

Tested by 2

test_commands_registryFunction · 0.72
fake_build_runtimeFunction · 0.72