Skip to content

getDoctorChecks

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

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

Collect all runtime doctor checks for the current environment.

The returned array concatenates environment checks (command availability, directory writability, and built-in template assets) followed by project checks in display order. Official workspaces cover package metadata, inventory, blocks, variations, patterns, bindings, and optional migration hints. Supported standalone scaffolds cover package/bootstrap integrity, source layout, dependencies, and canonical generated-artifact freshness.

string

Working directory to validate for writability.

GetDoctorChecksOptions = {}

Optional feature gates for additional doctor rows.

Promise<DoctorCheck[]>

Ordered doctor check rows ready for CLI rendering.