repo-to-text/repo_to_text
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
..
__init__.py cleanup 2024-06-08 13:15:23 +02:00
main.py Add pipe output feature to repo-to-text 2024-10-30 04:49:57 -07:00