Skip to content

Comments

Fix documentation to use code_search code subcommand prefix#16

Merged
CamonZ merged 1 commit intoCamonZ:masterfrom
churcho:fix/documentation
Feb 19, 2026
Merged

Fix documentation to use code_search code subcommand prefix#16
CamonZ merged 1 commit intoCamonZ:masterfrom
churcho:fix/documentation

Conversation

@churcho
Copy link
Contributor

@churcho churcho commented Feb 18, 2026

Summary

  • All documentation examples used the old top-level command syntax (code_search import, code_search hotspots, etc.) but after the CLI restructuring in dae34aa, these commands moved under the code subcommand group
  • Updated all 37 doc files + post-commit hook template to use code_search code <command>
  • Added docs/WORKTREES.md with git worktree setup guidance (each worktree needs its own RocksDB)
  • Updated docs/NEW_COMMANDS.md step 8 to reference CodeCommand enum in code.rs instead of the old Command enum

Test plan

  • Verify code_search code --help shows all subcommands
  • Spot-check a few commands match the documented syntax (e.g. code_search code import --help, code_search code hotspots --help)
  • Verify code_search setup still works as a top-level command (not under code)
  • Confirm no instances of the old syntax remain: grep -rn 'code_search import\|code_search hotspots\|code_search location' --include="*.md" templates/ docs/ README.md | grep -v 'code_search code '

After the CLI restructuring in dae34aa, all analysis commands moved
under the `code` subcommand group, but documentation still showed
the old top-level invocation (e.g. `code_search import` instead of
`code_search code import`).

This updates all 37 documentation files plus the post-commit hook
template to use the correct `code_search code <command>` syntax.
Also adds docs/WORKTREES.md for git worktree setup guidance and
updates NEW_COMMANDS.md to reference `CodeCommand` enum in code.rs.
@CamonZ CamonZ merged commit 431e119 into CamonZ:master Feb 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants