MCPcopy Index your code
hub / github.com/cloudgraphdev/cli / getConfigFile

Function getConfigFile

test/helpers/index.ts:97–103  ·  view source on GitHub ↗
(debug = false)

Source from the content-addressed store, hash-verified

95}
96
97export const getConfigFile = (debug = false): Config => {
98 debug && logger.debug(`getting configDir: ${configDir}`)
99 const file = cosmiconfigSync('cloud-graph').load(
100 path.join(configDir, '.cloud-graphrc.json')
101 )
102 return file?.config
103}
104
105export const saveTestCloudGraphConfigFile = async (
106 InitCommand: InitCommandClass,

Callers 1

runInitCommandTesterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected