Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ formatShellArg
Function
formatShellArg
packages/effect/src/unstable/cli/internal/wizard.ts:282–283 ·
view source on GitHub ↗
(arg: string)
Source
from the content-addressed store, hash-verified
280
}
281
282
const
formatShellArg = (arg: string): string =>
283
/^[A-Za-z0-9_./:@%+=,-]+$/.test(arg) ? arg : `
'${arg.replaceAll("'
", `'"
'"'
`)}'`
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected