MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / runSudo

Method runSudo

warp/warp.ts:33–35  ·  view source on GitHub ↗
(cmd: string)

Source from the content-addressed store, hash-verified

31 };
32 }
33 }
34
35 static async runSudo(cmd: string): Promise<{ success: boolean; output: string; error?: string }> {
36 return this.run(`sudo ${cmd}`);
37 }
38 }

Callers 9

readLocalMethod · 0.80
registerMethod · 0.80
installBinaryMethod · 0.80
setupAndStartMethod · 0.80
restartMethod · 0.80
setPortMethod · 0.80
uninstallMethod · 0.80
configureProxyMethod · 0.80
removeProxyMethod · 0.80

Calls 1

runMethod · 0.95

Tested by

no test coverage detected