You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 14, 2026. It is now read-only.
Add refdocs init command, auto-init on add, and fix add test buffer slice
Adds `refdocs init` to create .refdocs.json with full defaults, and
auto-initializes config when `refdocs add` is called without one.
Fixes downloadTarball mock buffer slice in add tests.
Bumps version to 0.3.0.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,10 @@ refdocs/
57
57
58
58
## CLI Commands
59
59
60
+
### `refdocs init`
61
+
62
+
Create a `.refdocs.json` config file with full defaults. Errors if the file already exists. Also auto-runs when `refdocs add` is called without an existing config.
63
+
60
64
### `refdocs index`
61
65
62
66
Walk all configured paths, chunk every `.md` file, build and persist the MiniSearch index.
0 commit comments