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

Function date

packages/cli/src/internal/args.ts:200–201  ·  view source on GitHub ↗
(config?: Args.Args.BaseArgsConfig)

Source from the content-addressed store, hash-verified

198
199/** @internal */
200export const date = (config?: Args.Args.BaseArgsConfig): Args.Args<globalThis.Date> =>
201 makeSingle(Option.fromNullable(config?.name), InternalPrimitive.date)
202
203/** @internal */
204export const directory = (config?: Args.Args.PathArgsConfig): Args.Args<string> =>

Callers

nothing calls this directly

Calls 1

makeSingleFunction · 0.70

Tested by

no test coverage detected