MCPcopy Create free account
hub / github.com/effect-app/libs / shellQuote

Function shellQuote

packages/cli/src/sync-effect-app-subtree.ts:44–44  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

42const isNonEmptyString = (value: string) => value !== ""
43
44const shellQuote = (value: string) => `'${value.replaceAll("'", "'\\''")}'`
45
46const normalizeVersion = (range: string) => {
47 const match = range.match(/\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?/)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…