Kirill Markin
1817078e46
Merge pull request #23 from kirill-markin/refactoring/cleanup
...
Refactoring/cleanup
2024-12-17 17:19:55 +01:00
Kirill Markin
4d99a1aa59
tests matrix python-version reduce
2024-12-17 17:18:12 +01:00
Kirill Markin
d124fa24cc
Refactor tree structure generation and filtering logic
...
- Simplified the `get_tree_structure` function by extracting the tree command execution and filtering into separate functions: `run_tree_command` and `filter_tree_output`.
- Introduced `process_line`, `extract_full_path`, and `mark_non_empty_dirs` to enhance readability and maintainability of the filtering process.
- Updated `load_ignore_specs` to improve loading of ignore specifications from settings and .gitignore files.
- Added clipboard functionality to copy output content after saving.
- Cleaned up and clarified docstrings for better understanding of function purposes.
2024-12-17 17:16:39 +01:00
Kirill Markin
ecfbed98ac
load_ignore_specs too meny local variables fix
2024-12-17 17:06:38 +01:00
Kirill Markin
2a08a70cf4
linter cleanup
2024-12-17 17:06:16 +01:00
Kirill Markin
17c7bb76e8
pylint to pyproject and git workflows
2024-12-17 15:16:03 +01:00
Kirill Markin
62e6daf19c
new version
2024-12-17 15:15:44 +01:00
Kirill Markin
4eac47029f
linter clenaup
2024-12-17 15:10:49 +01:00
Kirill Markin
a364328e60
remove_empty_dirs new logic and linter cleanup
2024-12-17 15:06:59 +01:00
Kirill Markin
5f283feefd
linter cleanup
2024-12-17 14:41:42 +01:00
Kirill Markin
0cba3592f2
chore: bump version to 0.5.3
2024-12-16 10:42:52 +01:00
Kirill Markin
2a8f31cf18
more python-version for tests
2024-12-16 10:40:13 +01:00
Kirill Markin
6bcd21f40f
fix pyproject usage
2024-12-16 10:38:09 +01:00
Kirill Markin
fae0657b04
Merge pull request #22 from kirill-markin:feature/workflow-tests
...
workflow tests
2024-12-16 10:34:41 +01:00
Kirill Markin
9567b8bb6d
workflow tests
2024-12-16 10:34:22 +01:00
Kirill Markin
b2148b4b5b
Merge pull request #21 from kirill-markin:feature/pyproject
...
pyproject
2024-12-16 10:31:49 +01:00
Kirill Markin
d89052115a
pyproject
2024-12-16 10:31:30 +01:00
Kirill Markin
6198b4f410
Merge pull request #20 from kirill-markin:feature/strict-typing-and-error-handling
...
strict-typing-and-error-handling
2024-12-16 10:24:28 +01:00
Kirill Markin
e39e7a8896
strict-typing-and-error-handling
2024-12-16 10:24:02 +01:00
Kirill Markin
5e1ae59375
version update
2024-12-16 07:45:39 +01:00
Kirill Markin
8ac3d0b727
version commint
2024-12-16 01:38:07 +01:00
Kirill Markin
577d42746d
Merge pull request #19 from kirill-markin/feature/python-strict-typing
...
Feature/python strict typing
2024-12-16 01:36:46 +01:00
Kirill Markin
a7e906c294
Merge pull request #18 from kirill-markin:feature/code-structure-tests
...
Refactor devide logic by files and more tests
2024-12-16 01:30:19 +01:00
Kirill Markin
dbfa602cd3
Refactor devide logic by files and more tests
2024-12-16 01:29:31 +01:00
Kirill Markin
9b03465644
Merge pull request #17 from adorosario/main
...
Added localized dockerized build instructions with documentation
2024-12-16 00:57:49 +01:00
Kirill Markin
6a434e5174
Merge pull request #16 from himwho/main
...
allows wildcards and pattern ignores for specific files
2024-12-16 00:53:26 +01:00
Kirill Markin
38dac27984
fix Refactor load_ignore_specs function definition for consistency
2024-12-16 00:51:56 +01:00
Kirill Markin
4e86177cfd
Merge pull request #15 from AndrewGerstenslager/ignore-patterns
...
added --ignore-patterns flag to ignore content from cli
2024-12-16 00:50:22 +01:00
Kirill Markin
fd70f24eed
.cursorignore file
2024-12-16 00:30:19 +01:00
Kirill Markin
46941115f1
strinc typing
2024-12-16 00:29:17 +01:00
Kirill Markin
d93a1d1fb0
old utc waring fix
2024-12-16 00:29:07 +01:00
Kirill Markin
bd0f242c08
tests baseline
2024-12-16 00:28:34 +01:00
Alden Do Rosario
2759fd3640
Added localized dockerized build instructions with documentation
2024-12-09 12:09:01 -05:00
Dylan Marcus
4642e3fd09
allows wildcards and pattern ignores for specific files
2024-11-15 14:58:27 -05:00
Andrew Gerstenslager
ce996c5db7
added --ignore-patterns flag to ignore content from cli
2024-11-10 22:18:45 -05:00
Kirill Markin
07521f06ca
Merge pull request #13 from kirill-markin/release/0.4.4
...
Release/0.4.4
2024-11-02 20:17:23 +01:00
Kirill Markin
fd84b62395
Merge remote-tracking branch 'remotes/caffeinum/add-aliases' into release/0.4.4
2024-11-02 20:08:42 +01:00
Kirill Markin
6b63d5309f
Merge remote-tracking branch 'remotes/caffeinum/add-pipe-output' into release/0.4.4
2024-11-02 20:07:22 +01:00
Kirill Markin
0c08bf54d7
Merge remote-tracking branch 'remotes/caffeinum/add-input-directory-parameter' into release/0.4.4
2024-11-02 20:02:03 +01:00
Kirill Markin
602bd99e89
bump version to 0.4.4
2024-11-02 19:56:37 +01:00
Aleksey Bykhun
3e236d7508
Add aliases for repo-to-text and --create-settings
...
Fixes #11
Add aliases for `repo-to-text` and `--create-settings`.
* **setup.py**
- Add alias `flatten` for `repo-to-text` in `entry_points`.
* **repo_to_text/main.py**
- Add alias `--init` for `--create-settings` in `argparse` setup.
* **README.md**
- Update usage documentation to include alias `flatten` for `repo-to-text`.
- Update usage documentation to include alias `--init` for `--create-settings`.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/kirill-markin/repo-to-text/issues/11?shareId=XXXX-XXXX-XXXX-XXXX ).
2024-10-30 04:51:58 -07:00
Aleksey Bykhun
d3998786c0
Add pipe output feature to repo-to-text
...
Fixes #9
Add support for output via pipe `repo-to-text > myfile.txt`.
* Modify `save_repo_to_text` function in `repo_to_text/main.py` to write to stdout if `--stdout` is specified.
* Add `--stdout` argument to `argparse` in `repo_to_text/main.py`.
* Update `main` function in `repo_to_text/main.py` to handle the new `--stdout` argument.
* Update `README.md` to include instructions for using the new pipe output feature.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/kirill-markin/repo-to-text/issues/9?shareId=XXXX-XXXX-XXXX-XXXX ).
2024-10-30 04:49:57 -07:00
Aleksey Bykhun
9847e1ff46
Accept input directory as first parameter, default to .
...
Related to #7
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/kirill-markin/repo-to-text/issues/7?shareId=XXXX-XXXX-XXXX-XXXX ).
2024-10-30 04:40:05 -07:00
Kirill Markin
ad36a75a7a
pyperclip not required
2024-10-30 08:58:24 +01:00
Kirill Markin
42326ae797
pip version fix
2024-10-23 00:06:55 +02:00
Kirill Markin
6e33556c4a
Merge pull request #6 from himwho/main
...
fixes ignoring subdirectories paths in the yaml
2024-10-22 23:59:27 +02:00
Dylan Marcus
1cf311bcf9
fixes ignoring subdirectories paths in the yaml
2024-10-22 01:11:15 -04:00
Kirill Markin
18b4b0bcd3
cleanup
2024-06-28 08:29:42 +02:00
Kirill Markin
c8fa443421
Merge pull request #5 from kirill-markin:feature/create-settings--option
...
Feature/create-settings--option
2024-06-18 11:58:55 +02:00
Kirill Markin
0ff9f97d8a
version update
2024-06-18 11:57:06 +02:00