-
-
Notifications
You must be signed in to change notification settings - Fork 714
Feature Request: --no-file-summary
should also suppress generationHeader
; should not suppress user-specified headerText
#554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
generationHeader
; should not suppress user-specified headerText
--no-file-summary
should also suppress generationHeader
; should not suppress user-specified headerText
… suppress headerText (yamadashy#554)
… suppress headerText (fixes yamadashy#554)
… suppress headerText (fixes yamadashy#554)
Hi, @joshwand You’re right—I hadn’t thought of it that way. |
…not-headertext feat: --no-file-summary now also suppresses generationHeader; doesn't suppress headerText (fixes #554)
Hi, @joshwand ! Thank you very much for your contribution! |
Uh oh!
There was an error while loading. Please reload this page.
Repomix's output has a summary/usage guidelines section, which can be suppressed with
--no-file-summary
, but it also has a generationHeader section which cannot be suppressed.My use case is for packing files other than source code (project documentation, code guidelines, etc), but the text in the unsuppressable generationHeader has static references to "the codebase", which may mislead the reader of the file (especially since I'm lazy and just pass the directory name in argv instead of using
--include
, so the output says it's "the entire codebase").Additionally, the
--header-text
config item adds its contents to the summary/usage guidelines section. When that section is suppressed with--no-file-summary
, the custom--header-text
is suppressed along with it.Desired behavior:
--no-file-summary
should suppress both the summary/usage guidelines section and thegenerationHeader
--header-text
, if provided, should be included in the output, regardless of the--no-file-summary
flagThe text was updated successfully, but these errors were encountered: