MCPcopy Create free account
hub / github.com/Eversmile12/sharedcontext / getConfigPath

Function getConfigPath

src/cli/setup.ts:105–110  ·  view source on GitHub ↗
(target: SetupTarget)

Source from the content-addressed store, hash-verified

103}
104
105function getConfigPath(target: SetupTarget): string {
106 if (target === "cursor") return getCursorConfigPath();
107 if (target === "claude") return getClaudeConfigPath();
108 if (target === "claude-cli") return getClaudeCliConfigPath();
109 return getCodexConfigPath();
110}
111
112function setupTarget(target: SetupTarget): void {
113 if (target === "codex") {

Callers 2

setupCommandFunction · 0.85
setupTargetFunction · 0.85

Calls 4

getCursorConfigPathFunction · 0.85
getClaudeConfigPathFunction · 0.85
getClaudeCliConfigPathFunction · 0.85
getCodexConfigPathFunction · 0.85

Tested by

no test coverage detected