Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
12
export
function
isVersionInvocation(args: string[]): boolean {
13
return
args[0] ===
"--version"
|| args[0] ===
"-v"
;
14
}
15
16
declare
const
__CLI_VERSION__: string;
17
Callers
2
index.ts
File · 0.90
cli.test.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected