MCPcopy
hub / github.com/mobile-next/mobile-mcp / executeCommand

Method executeCommand

src/mobilecli.ts:65–68  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

63 }
64
65 public executeCommand(args: string[]): string {
66 const path = this.getPath();
67 return execFileSync(path, args, { encoding: "utf8" }).toString().trim();
68 }
69
70 public spawnCommand(args: string[]): ChildProcess {
71 const binaryPath = this.getPath();

Callers 9

getVersionMethod · 0.95
remoteListDevicesMethod · 0.95
remoteAllocateMethod · 0.95
remoteReleaseMethod · 0.95
crashesListMethod · 0.95
agentStatusMethod · 0.95
agentInstallMethod · 0.95
getDevicesMethod · 0.95
runCommandMethod · 0.80

Calls 1

getPathMethod · 0.95

Tested by

no test coverage detected