repo-to-text/repo_to_text
Kirill Markin 3721ed45f0
Fix tree command for Windows (fixes #26)
- Add platform detection to run_tree_command
- Use 'cmd /c tree /a /f' syntax on Windows
- Keep 'tree -a -f --noreport' syntax on Unix/Linux/Mac
- Modernize subprocess call with text=True and encoding='utf-8'
- Add stderr=subprocess.PIPE for better error handling

All 43 tests pass successfully.
2025-10-25 15:02:18 +02:00
..
cli add support for splitted text by maximum word count 2025-05-25 00:11:54 -07:00
core Fix tree command for Windows (fixes #26) 2025-10-25 15:02:18 +02:00
utils remove_empty_dirs new logic and linter cleanup 2024-12-17 15:06:59 +01:00
__init__.py linter cleanup 2024-12-17 14:41:42 +01:00
main.py linter cleanup 2024-12-17 14:41:42 +01:00