MCPcopy Create free account
hub / github.com/Effect-TS/effect / commandString

Function commandString

packages/platform/deno/src/DenoChildProcessSpawner.ts:31–34  ·  view source on GitHub ↗
(command: ChildProcess.Command)

Source from the content-addressed store, hash-verified

29} from "effect/unstable/process/ChildProcessSpawner"
30
31const commandString = (command: ChildProcess.Command): string => {
32 const { commands } = flattenCommand(command)
33 return commands.map((command) => `${command.command} ${command.args.join(" ")}`).join(" | ")
34}
35
36const toPlatformError = (
37 method: string,

Callers 1

toPlatformErrorFunction · 0.85

Calls 3

joinMethod · 0.80
flattenCommandFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected