Skip to content

A tool that copies folder and file structures to your clipboard for easy pasting into your ai interface of choice.

License

Notifications You must be signed in to change notification settings

ToberoCat/clip_tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clip Tree

Clip Tree is a handy tool that copies entire folder and file structures to your clipboard for easy pasting into platforms like ChatGPT.

Features

  • Recursively copy directory structures.
  • Respect .gitignore patterns.
  • Custom instructions can be added to the clipboard content.
  • Configurable and easy to use.

Installation

pip install clip_tree

Usage

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.

Example

Run this command in your terminal, for example in this project's root directory:

clip_tree -i "Please review my code." -r .

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

About

A tool that copies folder and file structures to your clipboard for easy pasting into your ai interface of choice.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages