obx doctor
The obx doctor command analyzes your vault for structural issues, such as broken wikilinks or notes that have no incoming or outgoing connections.
obx doctor [flags] [vault_path]Options
Section titled “Options”| Flag | Shorthand | Description | Default |
|---|---|---|---|
--fail | -f | Exit with a non-zero status code if any issues are found. Ideal for CI/CD pipelines. | false |
Examples
Section titled “Examples”Basic Health Check
Section titled “Basic Health Check”obx doctorOutput:
Running vault diagnostics on /Users/zach/MyVault...
Broken Links:- research/ai-notes.md -> non-existent-note
Orphan Notes:- random-thoughts/2023-11-01.mdCI/CD Integration
Section titled “CI/CD Integration”To fail a GitHub Actions workflow if your vault contains broken links:
obx doctor --fail