Skip to main content

Function: createInitProject()

Constructs an InitProject instance.

Param​

Optional explicit adapter options

Call Signature​

createInitProject(): InitProject

Defined in: packages/core/src/composition/use-cases/init-project.ts:16

Constructs an InitProject use case wired with the filesystem config writer.

Returns​

InitProject

The pre-wired use case instance

Call Signature​

createInitProject(options): InitProject

Defined in: packages/core/src/composition/use-cases/init-project.ts:23

Constructs an InitProject use case with an explicit config writer.

Parameters​

options​

FsInitProjectOptions

Pre-built config writer

Returns​

InitProject

The pre-wired use case instance