MCPcopy Create free account
hub / github.com/ZingerLittleBee/ServerBee / getCommandByKey

Function getCommandByKey

scripts/make-menu.ts:475–475  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

473}
474
475export const getCommandByKey = (key: string): CommandDefinition | undefined => COMMANDS_BY_KEY.get(key)
476
477const getFeaturedCommands = (): CommandDefinition[] => COMMANDS.filter((command) => command.featured)
478

Callers 4

make-menu.test.tsFile · 0.90
printRecentCommandsFunction · 0.85
mainFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected