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

Function fileText

packages/effect/src/unstable/cli/Param.ts:756–761  ·  view source on GitHub ↗
(kind: Kind, name: string)

Source from the content-addressed store, hash-verified

754 * @since 4.0.0
755 */
756export const fileText = <Kind extends ParamKind>(kind: Kind, name: string): Param<Kind, string> =>
757 makeSingle({
758 name,
759 primitiveType: Primitive.fileText,
760 kind
761 })
762
763/**
764 * Creates a param that reads and parses the content of the specified file.

Callers

nothing calls this directly

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected