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

Function parse

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

Source from the content-addressed store, hash-verified

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({
349 _tag: "Single",
350 ...params,

Callers 1

Param.tsFile · 0.70

Calls 3

fFunction · 0.50
mapMethod · 0.45
parseMethod · 0.45

Tested by

no test coverage detected