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
Kirill Markin
ad36a75a7a
pyperclip not required
2024-10-30 08:58:24 +01:00
Dylan Marcus
1cf311bcf9
fixes ignoring subdirectories paths in the yaml
2024-10-22 01:11:15 -04:00
Kirill Markin
3513ae7165
add --create-settings option
2024-06-18 11:56:27 +02:00
Luca Gibelli
d75e2f9f72
fail softly if clipboard not available
2024-06-14 20:07:47 +02:00
Luca Gibelli
d5cc239e64
detect if tree is missing
2024-06-14 20:04:54 +02:00
Kirill Markin
5f1061a493
full_path fix
2024-06-10 08:33:30 +02:00
Kirill Markin
bdc2f2be42
filenames cleanup
2024-06-09 10:09:49 +02:00
Kirill Markin
72ac64ceb6
gitignore-import-and-ignore setting
2024-06-09 09:53:27 +02:00
Kirill Markin
b6bcdeca03
ignore-tree-and-content setting
2024-06-09 09:46:54 +02:00
Kirill Markin
7921839f08
ignore-content setting
2024-06-09 09:38:27 +02:00
Kirill Markin
afa2791a70
logging cleanup
2024-06-08 13:53:33 +02:00
Kirill Markin
a836beb856
output-dir option
2024-06-08 11:58:13 +02:00
Kirill Markin
f7b0e7df8e
cleanup
2024-06-08 11:49:25 +02:00
Kirill Markin
118da435cc
clipboard feature
2024-06-08 11:44:50 +02:00
Kirill Markin
a7d497f63a
new result file name
2024-06-08 11:36:13 +02:00
Kirill Markin
b50abf8cd6
gitignore in tree if needed
2024-06-08 11:26:48 +02:00
Kirill Markin
efaf4654fa
cleanup
2024-06-08 11:21:11 +02:00
Kirill Markin
b3282bfc6e
debug logging option
2024-06-08 11:13:39 +02:00
Kirill Markin
2dd3413f0d
empty dirs remove
2024-06-08 11:08:08 +02:00
Kirill Markin
d720a094dd
logs
2024-06-08 10:51:22 +02:00
Kirill Markin
8a3d70fc70
git rules cleanup
2024-06-08 10:25:02 +02:00
Kirill Markin
5c1c7d98e9
ignore gitignore files content
2024-06-08 10:08:09 +02:00
Kirill Markin
752ca966c4
first draft
2024-06-08 09:44:34 +02:00