MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / joinCommand

Function joinCommand

src/cm/lsp/serverLauncher.ts:72–75  ·  view source on GitHub ↗
(command: string, args: string[] = [])

Source from the content-addressed store, hash-verified

70}
71
72function joinCommand(command: string, args: string[] = []): string {
73 if (!Array.isArray(args) || !args.length) return quoteArg(command);
74 return [quoteArg(command), ...args.map((arg) => quoteArg(arg))].join(" ");
75}
76
77export { formatCommand } from "./installRuntime";
78

Callers 1

resolveStartCommandFunction · 0.85

Calls 1

quoteArgFunction · 0.90

Tested by

no test coverage detected