Skip to main content

Interface: InitProjectOptions

Defined in: packages/core/src/application/ports/config-writer.ts:2

Options for the initProject operation.

Properties

force?

readonly optional force?: boolean

Defined in: packages/core/src/application/ports/config-writer.ts:12

When true, overwrite an existing specd.yaml without error.


projectRoot

readonly projectRoot: string

Defined in: packages/core/src/application/ports/config-writer.ts:4

The directory to initialise (absolute path; defaults to process.cwd()).


schemaRef

readonly schemaRef: string

Defined in: packages/core/src/application/ports/config-writer.ts:6

Schema reference string (e.g. '@specd/schema-std').


specsPath

readonly specsPath: string

Defined in: packages/core/src/application/ports/config-writer.ts:10

Relative path for the specs directory (e.g. 'specs/').


workspaceId

readonly workspaceId: string

Defined in: packages/core/src/application/ports/config-writer.ts:8

The default workspace name (e.g. 'default').