MCPcopy
hub / github.com/upstash/context7 / hasExplicitIdeOption

Function hasExplicitIdeOption

packages/cli/src/utils/ide.ts:42–50  ·  view source on GitHub ↗
(options: IDEOptions)

Source from the content-addressed store, hash-verified

40}
41
42export function hasExplicitIdeOption(options: IDEOptions): boolean {
43 return !!(
44 options.allAgents ||
45 options.claude ||
46 options.cursor ||
47 options.universal ||
48 options.antigravity
49 );
50}
51
52/** Detect vendor-specific agents whose parent directory exists. */
53async function detectVendorSpecificAgents(scope: Scope): Promise<IDE[]> {

Callers 3

promptForInstallTargetsFunction · 0.85
promptForSingleTargetFunction · 0.85
listCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected