Skip to content

runDoctor

runDoctor(cwd, options?): Promise<DoctorCheck[]>

Defined in: wp-typia-project-tools/src/runtime/doctor/cli-doctor.ts:232

Run doctor checks, render each line, and fail when one or more failed checks contribute to the exit code under the active exit policy.

The default strict policy treats every failed row as exit-contributing. The workspace-only policy only fails on workspace-scoped rows so environment/runtime failures remain advisory for CI gates that only care about generated workspace artifacts.

string

Working directory to validate.

RunDoctorOptions = {}

Optional renderer overrides and exit-policy selection.

Promise<DoctorCheck[]>

The completed list of doctor checks.

When one or more failed checks contribute to the exit code under the active policy.