Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/cli / / DoctorCommandOptions
Interface: DoctorCommandOptions
Defined in: packages/cli/src/commands/doctor.ts:51
Stable
Extends
CommonOutputOptions
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
all? | readonly | boolean | Run every check. Equivalent to passing every --check-* flag. | - | packages/cli/src/commands/doctor.ts:70 |
checkEncryption? | readonly | boolean | Run the audit-encryption check. | - | packages/cli/src/commands/doctor.ts:64 |
checkPerms? | readonly | boolean | Run the file-perms check. Implied by --all. | - | packages/cli/src/commands/doctor.ts:60 |
checkSecrets? | readonly | boolean | Run the secrets-store check. | - | packages/cli/src/commands/doctor.ts:62 |
checkSystemd? | readonly | boolean | Run the systemd check. Linux-only. | - | packages/cli/src/commands/doctor.ts:66 |
fixPerms? | readonly | boolean | Run the file-perms repair. | - | packages/cli/src/commands/doctor.ts:58 |
home? | readonly | string | Override the directory the doctor checks. Defaults to ~/.graphorin/. Tests inject a fresh tmp dir. | - | packages/cli/src/commands/doctor.ts:56 |
json? | readonly | boolean | Emit a structured JSON document instead of human-readable text. | CommonOutputOptions.json | packages/cli/src/internal/output.ts:71 |
jsonPrint? | readonly | JsonSink | Test seam — capture JSON documents instead of writing to stdout. | CommonOutputOptions.jsonPrint | packages/cli/src/internal/output.ts:77 |
nonInteractive? | readonly | boolean | Force --non-interactive semantics (skip prompts; require flags / env). | CommonOutputOptions.nonInteractive | packages/cli/src/internal/output.ts:73 |
print? | readonly | PrintSink | Test seam — capture human lines instead of writing to stderr. | CommonOutputOptions.print | packages/cli/src/internal/output.ts:75 |
systemdRun? | readonly | (cmd) => Promise<string> | Test seam — supply a custom systemd executor. | - | packages/cli/src/commands/doctor.ts:72 |
systemdUnit? | readonly | string | Optional systemd unit identifier (default graphorin.service). | - | packages/cli/src/commands/doctor.ts:68 |