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

Function parse

packages/effect/src/cli/Param.ts:412–415  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

410 readonly annotations?: Context.Context<never> | undefined
411}): Single<Kind, A> => {
412 const parse: Parse<A> = (args) =>
413 params.kind === argumentKind
414 ? parsePositional(params.name, params.primitiveType, args)
415 : parseFlag(params.name, params.primitiveType, args)
416 return Object.setPrototypeOf({
417 _tag: "Single",
418 ...params,

Callers 4

Param.tsFile · 0.70
parseAlternativeFunction · 0.70
Jws.tsFile · 0.50
TestSchema.tsFile · 0.50

Calls 6

someMethod · 0.80
pipeMethod · 0.65
fFunction · 0.50
mapMethod · 0.45
parseMethod · 0.45
succeedMethod · 0.45

Tested by

no test coverage detected