MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / get_command

Function get_command

claw-code/src/commands.py:52–57  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

50
51
52def get_command(name: str) -> PortingModule | None:
53 needle = name.lower()
54 for module in PORTED_COMMANDS:
55 if module.name.lower() == needle:
56 return module
57 return None
58
59
60def get_commands(cwd: str | None = None, include_plugin_commands: bool = True, include_skill_commands: bool = True) -> tuple[PortingModule, ...]:

Callers 2

execute_commandFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected