MCPcopy Create free account
hub / github.com/backnotprop/plannotator / isVersionInvocation

Function isVersionInvocation

apps/hook/server/cli.ts:12–14  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

10}
11
12export function isVersionInvocation(args: string[]): boolean {
13 return args[0] === "--version" || args[0] === "-v";
14}
15
16declare const __CLI_VERSION__: string;
17

Callers 2

index.tsFile · 0.90
cli.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected