12 lines
338 B
TypeScript
12 lines
338 B
TypeScript
|
|
import type { DoctorOptions } from "./types"
|
||
|
|
import { runDoctor } from "./runner"
|
||
|
|
|
||
|
|
export async function doctor(options: DoctorOptions = {}): Promise<number> {
|
||
|
|
const result = await runDoctor(options)
|
||
|
|
return result.exitCode
|
||
|
|
}
|
||
|
|
|
||
|
|
export * from "./types"
|
||
|
|
export { runDoctor } from "./runner"
|
||
|
|
export { formatJsonOutput } from "./formatter"
|