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.
Parameters
Section titled “Parameters”string
Working directory to validate.
options?
Section titled “options?”RunDoctorOptions = {}
Optional renderer overrides and exit-policy selection.
Returns
Section titled “Returns”Promise<DoctorCheck[]>
The completed list of doctor checks.
Throws
Section titled “Throws”When one or more failed checks contribute to the exit code under the active policy.