Copy code to clipboard with properly formatted relative paths—perfect for sending to AI assistants. This tool preserves your project's directory structure while respecting .gitignore rules and allowing custom messages.
- AI-Ready Format: Files are prefixed with
./relative/pathheaders, followed by their content. - Git Aware: Respects
.gitignorerules by default (use--no-ignoreto override). - Robust and Safe: Uses Python's
pathlibandargparsefor reliable cross-platform path and argument handling. - Efficient: Gets all ignored files from Git in a single, fast operation.