MCPcopy Create free account
hub / github.com/codehamr/codehamr / commandByName

Function commandByName

internal/tui/slash.go:73–80  ·  view source on GitHub ↗

commandByName returns the registered command for a slash name, or nil. Centralises the linear scan shared by completion, dispatch, and runSlash.

(name string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

handleTabMethod · 0.85
handleEnterMethod · 0.85
runSlashMethod · 0.85
refreshSuggestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected