MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / shellEscapeArg

Function shellEscapeArg

src/utils/shell-escape.ts:11–13  ·  view source on GitHub ↗
(arg: string)

Source from the content-addressed store, hash-verified

9 * @returns A single-quoted, safely escaped string
10 */
11export function shellEscapeArg(arg: string): string {
12 return "'" + arg.replace(/'/g, "'\\''") + "'";
13}

Callers 4

defaultExecutorFunction · 0.90
formatCliArgFunction · 0.90
formatCliParamValueFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected