Clip Tree is a handy tool that copies entire folder and file structures to your clipboard for easy pasting into platforms like ChatGPT.
- Recursively copy directory structures.
- Respect
.gitignore
patterns. - Custom instructions can be added to the clipboard content.
- Configurable and easy to use.
pip install clip_tree
clip_tree path/to/directory -r -i "Your custom instruction"
-r
,--recursive
: Recursively process directories.-i
,--instruction
: Custom instruction to include in the clipboard content.
Run this command in your terminal, for example in this project's root directory:
clip_tree -i "Please review my code." -r .
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request.