From b725ef7ff4aabcf5a6b11257a9b9a7298bf0e20c Mon Sep 17 00:00:00 2001
From: Shawn Scott
-
+
@@ -108,7 +108,7 @@ Cuatro estrategias:
rtk ls . # Arbol de directorios optimizado
rtk read file.rs # Lectura inteligente
rtk find "*.rs" . # Resultados compactos
-rtk grep "pattern" . # Busqueda agrupada por archivo
+rtk grep "pattern" . # Resultados crudos <=50, agrupados >50
```
### Git
@@ -152,7 +152,7 @@ rtk discover # Descubrir ahorros perdidos
Las contribuciones son bienvenidas. Abre un issue o PR en [GitHub](https://github.com/rtk-ai/rtk).
-Unete a la comunidad en [Discord](https://discord.gg/RySmvNF5kF).
+Unete a la comunidad en [Discord](https://discord.gg/pvHdzAec).
## Licencia
diff --git a/README_fr.md b/README_fr.md
index 4c5e749d..1dc7bd1b 100644
--- a/README_fr.md
+++ b/README_fr.md
@@ -10,7 +10,7 @@
-
+
@@ -119,7 +119,7 @@ rtk ls . # Arbre de repertoires optimise
rtk read file.rs # Lecture intelligente
rtk read file.rs -l aggressive # Signatures uniquement
rtk find "*.rs" . # Resultats compacts
-rtk grep "pattern" . # Resultats groupes par fichier
+rtk grep "pattern" . # Resultats bruts <=50, groupes >50
rtk diff file1 file2 # Diff condense
```
@@ -190,7 +190,7 @@ mode = "failures"
Les contributions sont les bienvenues ! Ouvrez une issue ou une PR sur [GitHub](https://github.com/rtk-ai/rtk).
-Rejoignez la communaute sur [Discord](https://discord.gg/RySmvNF5kF).
+Rejoignez la communaute sur [Discord](https://discord.gg/pvHdzAec).
## Licence
diff --git a/README_ja.md b/README_ja.md
index 6c690aff..251ad345 100644
--- a/README_ja.md
+++ b/README_ja.md
@@ -10,7 +10,7 @@
-
+
@@ -108,7 +108,7 @@ git status # 自動的に rtk git status に書き換え
rtk ls . # 最適化されたディレクトリツリー
rtk read file.rs # スマートファイル読み取り
rtk find "*.rs" . # コンパクトな検索結果
-rtk grep "pattern" . # ファイル別グループ化検索
+rtk grep "pattern" . # 50件以下は生出力、50件超はグループ化
```
### Git
@@ -152,7 +152,7 @@ rtk discover # 見逃した節約機会を発見
コントリビューション歓迎 で issue または PR を作成してください。
-[Discord](https://discord.gg/RySmvNF5kF) コミュニティに参加。
+[Discord](https://discord.gg/pvHdzAec) コミュニティに参加。
## ライセンス
diff --git a/README_ko.md b/README_ko.md
index 5d3b1a0b..69824140 100644
--- a/README_ko.md
+++ b/README_ko.md
@@ -10,7 +10,7 @@
-
+
@@ -108,7 +108,7 @@ git status # 자동으로 rtk git status로 재작성
rtk ls . # 최적화된 디렉토리 트리
rtk read file.rs # 스마트 파일 읽기
rtk find "*.rs" . # 컴팩트한 검색 결과
-rtk grep "pattern" . # 파일별 그룹화 검색
+rtk grep "pattern" . # 50개 이하 원본 출력, 50개 초과 그룹화
```
### Git
@@ -152,7 +152,7 @@ rtk discover # 놓친 절약 기회 발견
기여를 환영합니다! [GitHub](https://github.com/rtk-ai/rtk)에서 issue 또는 PR을 생성해 주세요.
-[Discord](https://discord.gg/RySmvNF5kF) 커뮤니티에 참여하세요.
+[Discord](https://discord.gg/pvHdzAec) 커뮤니티에 참여하세요.
## 라이선스
diff --git a/README_zh.md b/README_zh.md
index 00b9c001..45b20aac 100644
--- a/README_zh.md
+++ b/README_zh.md
@@ -10,7 +10,7 @@
-
+
@@ -109,7 +109,7 @@ git status # 自动重写为 rtk git status rtk ls . # 优化的目录树 rtk read file.rs # 智能文件读取 rtk find "*.rs" . # 紧凑的查找结果 -rtk grep "pattern" . # 按文件分组的搜索结果 +rtk grep "pattern" . # 50条以下原始输出,50条以上分组 ``` ### Git @@ -160,7 +160,7 @@ rtk discover # 发现遗漏的节省机会 欢迎贡献!请在 [GitHub](https://github.com/rtk-ai/rtk) 上提交 issue 或 PR。 -加入 [Discord](https://discord.gg/RySmvNF5kF) 社区。 +加入 [Discord](https://discord.gg/pvHdzAec) 社区。 ## 许可证 diff --git a/docs/AUDIT_GUIDE.md b/docs/AUDIT_GUIDE.md index 8bcebdff..421953fd 100644 --- a/docs/AUDIT_GUIDE.md +++ b/docs/AUDIT_GUIDE.md @@ -270,7 +270,7 @@ Savings % = (Saved / Input) × 100 | `rtk vitest run` | 94-99% | Show failures only | | `rtk find` | 75% | Tree format | | `rtk pnpm list` | 70-90% | Compact dependencies | -| `rtk grep` | 70% | Truncate + group | +| `rtk grep` | 0-70% | Raw passthrough <=50 matches, group >50 | ## Database Management diff --git a/docs/FEATURES.md b/docs/FEATURES.md index 061a604a..883b1178 100644 --- a/docs/FEATURES.md +++ b/docs/FEATURES.md @@ -202,7 +202,7 @@ Supporte a la fois la syntaxe RTK et la syntaxe native `find` (`-name`, `-type`, ### `rtk grep` -- Recherche dans le contenu -**Objectif :** Remplace `grep` et `rg` avec une sortie groupee par fichier, tronquee. +**Objectif :** Remplace `grep` et `rg`. Passthrough brut pour <=50 resultats (format standard `file:line:content`), sortie groupee par fichier pour >50 resultats. Utilise `--no-ignore-vcs` pour correspondre au comportement de `grep -r` (respecte `.ignore`/`.rgignore`). **Syntaxe :** ```bash