MCPcopy Create free account
hub / github.com/PierreBeucher/cloudypad / buildCoreClient

Function buildCoreClient

src/cli/program.ts:49–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49function buildCoreClient(): CloudypadClient {
50 const defaultConfig = new ConfigLoader().loadConfig()
51
52 logger.debug("Building core client with config: " + JSON.stringify(defaultConfig))
53
54 const client = new CloudypadClient({
55 config: defaultConfig
56 })
57 return client
58}
59
60function getCoreConfig(): CoreConfig {
61 const config = new ConfigLoader().loadConfig()

Callers 1

buildProgramFunction · 0.85

Calls 1

loadConfigMethod · 0.80

Tested by

no test coverage detected