Skip to content

@kekkai/blueprint / DoctorOptions

Interface: DoctorOptions ​

Defined in: src/inspect/doctor.ts:51

Properties ​

json? ​

optional json?: boolean

Defined in: src/inspect/doctor.ts:53

Emit machine-readable JSON instead of the checklist.


loadConfig? ​

optional loadConfig?: (file) => Promise<Blueprint>

Defined in: src/inspect/doctor.ts:59

Load an existing blueprint.config (default dynamic import).

Parameters ​

file ​

string

Returns ​

Promise<Blueprint>


loadModule? ​

optional loadModule?: (name, root) => Promise<unknown>

Defined in: src/inspect/doctor.ts:57

Load a module from the project's dependency tree (default: real import).

Parameters ​

name ​

string

root ​

string

Returns ​

Promise<unknown>


log? ​

optional log?: (message) => void

Defined in: src/inspect/doctor.ts:55

Output sink (default console.log).

Parameters ​

message ​

string

Returns ​

void