rlmgrep 0.1.26__tar.gz → 0.1.28__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rlmgrep
3
- Version: 0.1.26
3
+ Version: 0.1.28
4
4
  Summary: Grep-shaped CLI search powered by DSPy RLM
5
5
  Author: rlmgrep
6
6
  License: MIT
@@ -21,7 +21,7 @@ Grep-shaped search powered by DSPy RLM. It accepts a natural-language query, sca
21
21
  ```sh
22
22
  uv tool install --python 3.11 rlmgrep
23
23
  # or from GitHub:
24
- # uv tool install git+https://github.com/halfprice06/rlmgrep.git
24
+ # uv tool install --python 3.11 git+https://github.com/halfprice06/rlmgrep.git
25
25
 
26
26
  export OPENAI_API_KEY=... # or set keys in ~/.rlmgrep
27
27
  ```
@@ -7,7 +7,7 @@ Grep-shaped search powered by DSPy RLM. It accepts a natural-language query, sca
7
7
  ```sh
8
8
  uv tool install --python 3.11 rlmgrep
9
9
  # or from GitHub:
10
- # uv tool install git+https://github.com/halfprice06/rlmgrep.git
10
+ # uv tool install --python 3.11 git+https://github.com/halfprice06/rlmgrep.git
11
11
 
12
12
  export OPENAI_API_KEY=... # or set keys in ~/.rlmgrep
13
13
  ```
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "rlmgrep"
3
- version = "0.1.26"
3
+ version = "0.1.28"
4
4
  description = "Grep-shaped CLI search powered by DSPy RLM"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -1,2 +1,2 @@
1
1
  __all__ = ["__version__"]
2
- __version__ = "0.1.26"
2
+ __version__ = "0.1.28"
@@ -187,6 +187,7 @@ def _parse_args(argv: list[str]) -> argparse.Namespace:
187
187
  parser.add_argument("-y", "--yes", action="store_true", help="Skip file count confirmation")
188
188
  parser.add_argument(
189
189
  "--files-from-stdin",
190
+ dest="stdin_files",
190
191
  action="store_true",
191
192
  help="Treat stdin as newline-delimited file paths (e.g., rg -l)",
192
193
  )
@@ -569,9 +570,9 @@ def main(argv: list[str] | None = None) -> int:
569
570
  return 2
570
571
  else:
571
572
  if sys.stdin.isatty():
572
- _warn("no input paths and stdin is empty")
573
- return 2
574
- stdin_text = sys.stdin.read()
573
+ input_paths = ["."]
574
+ else:
575
+ stdin_text = sys.stdin.read()
575
576
 
576
577
  if input_paths is None:
577
578
  text = stdin_text or ""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rlmgrep
3
- Version: 0.1.26
3
+ Version: 0.1.28
4
4
  Summary: Grep-shaped CLI search powered by DSPy RLM
5
5
  Author: rlmgrep
6
6
  License: MIT
@@ -21,7 +21,7 @@ Grep-shaped search powered by DSPy RLM. It accepts a natural-language query, sca
21
21
  ```sh
22
22
  uv tool install --python 3.11 rlmgrep
23
23
  # or from GitHub:
24
- # uv tool install git+https://github.com/halfprice06/rlmgrep.git
24
+ # uv tool install --python 3.11 git+https://github.com/halfprice06/rlmgrep.git
25
25
 
26
26
  export OPENAI_API_KEY=... # or set keys in ~/.rlmgrep
27
27
  ```
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes