Skip to main content

Function: createGetSpecContext()

Constructs a GetSpecContext instance wired with filesystem adapters.

Param

A fully-resolved SpecdConfig or explicit adapter options

Call Signature

createGetSpecContext(config): GetSpecContext

Defined in: packages/core/src/composition/use-cases/get-spec-context.ts:24

Constructs a GetSpecContext use case wired to all configured workspaces.

Parameters

config

SpecdConfig

The fully-resolved project configuration

Returns

GetSpecContext

The pre-wired use case instance

Call Signature

createGetSpecContext(options): GetSpecContext

Defined in: packages/core/src/composition/use-cases/get-spec-context.ts:31

Constructs a GetSpecContext use case with explicit adapter options.

Parameters

options

FsGetSpecContextOptions

Pre-built spec repositories keyed by workspace

Returns

GetSpecContext

The pre-wired use case instance