File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,12 +21,16 @@ pnpm install
2121# Build tất cả packages
2222pnpm build
2323
24- # Link CLI globally
25- cd packages/cli
26- npm link
24+ # Link CLI toàn cục (dành cho phát triển)
25+ cd packages/cli && pnpm link --global
26+
27+ # Chạy test toàn bộ dự án
28+ pnpm test
29+ pnpm test:watch # Chế độ theo dõi thay đổi
2730
2831# Cấu hình API Key toàn cục (CHỈ CẦN LÀM 1 LẦN)
2932codeindex setup
33+
3034```
3135
3236---
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ After: Paste 3 files (2KB) → Same answer
6868
6969``` bash
7070# 1. Install
71- npm install -g @codeindex/cli
71+ pnpm install -g @codeindex/cli
7272
7373# 2. Setup (one-time)
7474codeindex setup
@@ -77,7 +77,7 @@ codeindex setup
7777cd your-project
7878codeindex index .
7979
80- # 4. Query!
80+ # 4. Query!cd
8181codeindex query " How does the auth module work?"
8282```
8383
@@ -161,7 +161,18 @@ Start server: codeindex serve . --port 3131
161161
162162TypeScript • Python • Go • Rust • Java • C# • C++ • PHP • Swift
163163
164- * Need another language? The adapter pattern makes it trivial to add new languages.*
164+ * Multi-language support is built-in. Each language is handled by its own dedicated adapter.*
165+
166+ ***
167+
168+ ## Testing
169+
170+ Run all tests across the workspace:
171+
172+ ``` bash
173+ pnpm test # Run all tests
174+ pnpm test:watch # Run in watch mode
175+ ```
165176
166177***
167178
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments