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

Function execCommand

src/utils/index.ts:208–217  ·  view source on GitHub ↗
(cmd: string)

Source from the content-addressed store, hash-verified

206}
207
208export const execCommand = (cmd: string): Promise<void> => {
209 return new Promise((resolve, reject) => {
210 exec(cmd, (error: any, stdout: any, stderr: any) => {
211 if (error) {
212 reject(error)
213 }
214 resolve(stdout || stderr)
215 })
216 })
217}
218
219export const findExistingDGraphContainerId = async (
220 statusFilter: string

Callers 7

stopDgraphContainerFunction · 0.90
initDgraphContainerFunction · 0.90
runMethod · 0.90
pullDGraphDockerImageMethod · 0.90
startDGraphContainerMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected