gitex 0.2.16__tar.gz → 0.2.17__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.
- {gitex-0.2.16 → gitex-0.2.17}/PKG-INFO +1 -1
- gitex-0.2.17/gitex/__init__.py +1 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex/main.py +8 -9
- {gitex-0.2.16 → gitex-0.2.17}/gitex.egg-info/PKG-INFO +1 -1
- gitex-0.2.16/gitex/__init__.py +0 -1
- {gitex-0.2.16 → gitex-0.2.17}/README.md +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex/dependency_mapper.py +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex/docstring_extractor.py +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex/models.py +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex/picker/__init__.py +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex/picker/base.py +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex/picker/questionary.py +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex/picker/textuals.py +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex/renderer.py +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex/utils.py +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex.egg-info/SOURCES.txt +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex.egg-info/dependency_links.txt +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex.egg-info/entry_points.txt +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex.egg-info/requires.txt +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/gitex.egg-info/top_level.txt +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/pyproject.toml +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/setup.cfg +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/tests/test_cli.py +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/tests/test_fences.py +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/tests/test_render.py +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/tests/test_skip_binaries.py +0 -0
- {gitex-0.2.16 → gitex-0.2.17}/tests/test_textual.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.2.17"
|
|
@@ -37,8 +37,8 @@ def _filter_nodes(nodes):
|
|
|
37
37
|
help="Launch interactive picker to choose files")
|
|
38
38
|
@click.option("--no-files", is_flag=True,
|
|
39
39
|
help="Only render the directory tree without file contents.")
|
|
40
|
-
@click.option("-
|
|
41
|
-
help="
|
|
40
|
+
@click.option("-v", "--verbose", is_flag=True,
|
|
41
|
+
help="Print output to terminal in addition to copying.")
|
|
42
42
|
@click.option("-d", "--base-dir", default=None,
|
|
43
43
|
help="Strip this prefix from file paths when rendering file contents.")
|
|
44
44
|
@click.option("-ds", "--extract-docstrings", "extract_symbol",
|
|
@@ -54,7 +54,7 @@ def _filter_nodes(nodes):
|
|
|
54
54
|
@click.option("--force", is_flag=True, help="Force execution on non-git directories (caution: may be slow).")
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
def cli(path, interactive, no_files,
|
|
57
|
+
def cli(path, interactive, no_files, verbose, base_dir, extract_symbol, include_empty_classes, dependency_focus, ignore_gitignore, show_hidden, force):
|
|
58
58
|
"""
|
|
59
59
|
Renders a repository's file tree and optional file contents for LLM prompts.
|
|
60
60
|
|
|
@@ -140,14 +140,13 @@ def cli(path, interactive, no_files, copy_clipboard, base_dir, extract_symbol, i
|
|
|
140
140
|
|
|
141
141
|
final_output = "".join(out_parts)
|
|
142
142
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
else:
|
|
148
|
-
click.secho("[Failed to copy to clipboard – install wl-clipboard or xclip or xsel]", fg="yellow", err=True)
|
|
143
|
+
ok = copy_to_clipboard(final_output)
|
|
144
|
+
if ok:
|
|
145
|
+
click.secho("[Copied to clipboard]", err=True)
|
|
146
|
+
if verbose:
|
|
149
147
|
click.echo(final_output)
|
|
150
148
|
else:
|
|
149
|
+
click.secho("[Failed to copy to clipboard – install wl-clipboard or xclip or xsel]", fg="yellow", err=True)
|
|
151
150
|
click.echo(final_output)
|
|
152
151
|
|
|
153
152
|
if __name__ == "__main__":
|
gitex-0.2.16/gitex/__init__.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.2.16"
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|