MCPcopy Create free account
hub / github.com/contextgo/contextgo / hasCommand

Function hasCommand

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

Source from the content-addressed store, hash-verified

180 return cliValue || undefined;
181};
182const hasCommand = (cmd: string) => process.argv.includes(cmd);
183
184const isWebUIMode = hasSwitch('webui');
185const isRemoteMode = hasSwitch('remote');

Callers 1

index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected