Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
};
182
const
hasCommand = (cmd: string) => process.argv.includes(cmd);
183
184
const
isWebUIMode = hasSwitch(
'webui'
);
185
const
isRemoteMode = hasSwitch(
'remote'
);
Callers
1
index.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected