Skip to main content

Function: createGetSpec()

Constructs a GetSpec instance wired with filesystem adapters.

Param

A fully-resolved SpecdConfig or explicit adapter options

Call Signature

createGetSpec(config): GetSpec

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

Constructs a GetSpec use case with full project config.

Parameters

config

SpecdConfig

The fully-resolved project configuration

Returns

GetSpec

The pre-wired use case instance

Call Signature

createGetSpec(options): GetSpec

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

Constructs a GetSpec use case with explicit adapter options.

Parameters

options

FsGetSpecOptions

Pre-built spec repositories keyed by workspace

Returns

GetSpec

The pre-wired use case instance