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

Function setConfigCommand

test/helpers/index.ts:49–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47export const { logger } = CloudGraph
48
49export const setConfigCommand = async (): Promise<{ version: string }> => {
50 await ConfigCommand.load()
51 const { version } = ConfigCommand
52 ConfigCommand.configDir = configDir
53 ConfigCommand.dataDir = dataDir
54 return { version }
55}
56
57export const getInitCommand = async (
58 argv: any = [''],

Callers 2

getInitCommandFunction · 0.85
getServeCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected