MCPcopy Index your code
hub / github.com/CommandCodeAI/BaseAI / command

Function command

packages/baseai/src/index.ts:29–29  ·  view source on GitHub ↗
(cmd: string)

Source from the content-addressed store, hash-verified

27
28// Utility function to check if a command is present
29const command = (cmd: string): boolean => input.includes(cmd);
30
31// Utility function to check if a flag is present
32const flag = (flg: string): boolean => Boolean(flags[flg]);

Callers 1

index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected