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

Function parse

repos/effect/packages/effect/src/unstable/cli/Param.ts:342–345  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

340 readonly description?: Option.Option<string> | undefined
341 readonly aliases?: ReadonlyArray<string> | undefined
342 readonly hidden?: boolean | undefined
343}): Single<Kind, A> => {
344 const parse: Parse<A> = (args) =>
345 params.kind === argumentKind
346 ? parsePositional(params.name, params.primitiveType, args)
347 : parseFlag(params.name, params.primitiveType, args)
348 return Object.setPrototypeOf({

Callers 9

Param.tsFile · 0.70
schemaCookiesFunction · 0.50
schemaHeadersFunction · 0.50
schemaSearchParamsFunction · 0.50
schemaBodyMultipartFunction · 0.50
schemaJsonFunction · 0.50
schemaNoBodyFunction · 0.50
schemaParamsFunction · 0.50
schemaPathParamsFunction · 0.50

Calls 3

parseMethod · 0.80
mapMethod · 0.65
fFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…