News for hackers. Stuff that matters.
Re:Show HN: Repogather – copy relevant files to clipboard fo... by fellowniusmonk on Thursday September 12, 2024 @05:50PM (#41525943)
This looks very cool for complex queries!

If your codebase is structured in a very modular way than this one liner mostly just works:

find . -type f -exec echo {} \; -exec cat {} \; | pbcopy

Re:Show HN: Repogather – copy relevant files to clipboard fo... by grbsh on Friday September 13, 2024 @08:22AM (#41530525)
I like this! I originally started with something similar (but this one is much cleaner!), but then wanted to add optional exclusions (like .gitignore, tests, configurations).

Would it be okay if I include this one liner in the readme (with credit) as an alternative?

Re:Show HN: Repogather – copy relevant files to clipboard fo... by fellowniusmonk on Friday September 13, 2024 @10:18AM (#41531501)
Absolutely!