repomix icon indicating copy to clipboard operation
repomix copied to clipboard

How can I remove Copyright messages in the output?

Open flowbehappy opened this issue 9 months ago • 3 comments

As they are redundant and useless.

flowbehappy avatar Mar 04 '25 11:03 flowbehappy

@flowbehappy Are you referring to the header part that appears at the beginning of the output?

This file is a merged representation of the entire codebase, combined into a single document by Repomix.

It would be good to have an option to toggle this on/off, similar to how we handle fileSummary.

yamadashy avatar Mar 04 '25 13:03 yamadashy

I suppose it's more about headers in actual code files. Let's say opposite of https://github.com/google/addlicense

fenio avatar Mar 15 '25 17:03 fenio

Oh, I see! That makes sense—thanks!

Indeed, some repositories include license headers in every file, so having an option to remove them could be useful.

It seems feasible to implement by fine-tuning the comment removal feature. I'll look into it.

yamadashy avatar Mar 16 '25 06:03 yamadashy