Skip to content

Feature Request: --no-file-summary should also suppress generationHeader; should not suppress user-specified headerText #554

@joshwand

Description

@joshwand

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 the generationHeader
  • --header-text, if provided, should be included in the output, regardless of the --no-file-summary flag

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions