rlmgrep 0.1.2__tar.gz → 0.1.3__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.2
3
+ Version: 0.1.3
4
4
  Summary: Grep-shaped CLI search powered by DSPy RLM
5
5
  Author: rlmgrep
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "rlmgrep"
3
- version = "0.1.2"
3
+ version = "0.1.3"
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.0"
2
+ __version__ = "0.1.3"
@@ -6,6 +6,7 @@ import sys
6
6
  from pathlib import Path
7
7
 
8
8
  import dspy
9
+ from . import __version__
9
10
  from .config import ensure_default_config, load_config
10
11
  from .file_map import build_file_map
11
12
  from .ingest import FileRecord, collect_candidates, load_files, resolve_type_exts
@@ -67,6 +68,7 @@ def _parse_args(argv: list[str]) -> argparse.Namespace:
67
68
  prog="rlmgrep",
68
69
  description="Grep-shaped CLI search powered by DSPy RLM.",
69
70
  )
71
+ parser.add_argument("--version", action="version", version=f"rlmgrep {__version__}")
70
72
  parser.add_argument("pattern", nargs="?", help="Query string (interpreted by RLM)")
71
73
  parser.add_argument("paths", nargs="*", help="Files or directories")
72
74
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rlmgrep
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Grep-shaped CLI search powered by DSPy RLM
5
5
  Author: rlmgrep
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes