MCPcopy Index your code
hub / github.com/callstack/agent-device / isVersionFlag

Function isVersionFlag

src/bin.ts:111–113  ·  view source on GitHub ↗
(arg: string | undefined)

Source from the content-addressed store, hash-verified

109}
110
111function isVersionFlag(arg: string | undefined): boolean {
112 return arg === '--version' || arg === '-V';
113}
114
115function runCli(argv: string[]): void {
116 import('./cli.ts').then(({ runCli }) => runCli(argv)).catch(handleStartupError);

Callers 1

runVersionFastPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…