MCPcopy
hub / github.com/davepoon/buildwithclaude / getInstance

Method getInstance

packages/bwc-cli/src/config/manager.ts:53–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 private forceUser: boolean = false
52
53 static getInstance(): ConfigManager {
54 if (!ConfigManager.instance) {
55 ConfigManager.instance = new ConfigManager()
56 }
57 return ConfigManager.instance
58 }
59
60 private async findProjectConfig(): Promise<string | null> {
61 const projectConfigNames = ['bwc.config.json', '.bwc/config.json']

Callers 9

createStatusCommandFunction · 0.45
createRemoveCommandFunction · 0.45
createInstallCommandFunction · 0.45
createAddCommandFunction · 0.45
testProxySupportFunction · 0.45
install.test.tsFile · 0.45
list.test.tsFile · 0.45
remove.test.tsFile · 0.45
manager.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected