-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
Removing File Summary header #206
Comments
Thanks for the suggestion, @mireklzicar! How about adding these configuration options for more flexible control: {
"output": {
"fileSummary": true, // default: true
"repositoryStructure": true // default: true
}
} We can extend these options in the future to accept objects for more detailed control, while maintaining backward compatibility. For example, in the future we could extend {
"output": {
"fileSummary": {
// ...
}
}
} What are your thoughts on this direction? Note: Due to current workload, implementation might be delayed until the end of the year. |
Looks good. This will be simple to implement and perfectly enough for my usecase. |
@mireklzicar |
Can this also be a |
@gaby I'll add CLI in a next release. |
I've released a new version, v0.2.12, which includes the CLI flags for controlling output sections and content processing that we discussed: https://github.com/yamadashy/repomix/releases/tag/v0.2.12
You can check out the release here: https://github.com/yamadashy/repomix/releases/tag/v0.2.12 Please let me know if you have any other suggestions or feedback! |
@yamadashy Awesome, thank you! This will make it easier to use Docker too. |
@yamadashy After the latest release i'm getting this error: user@ubuntu:/usr/lib/node_modules# repomix --help
Fatal Error: {
name: 'SyntaxError',
message: "Unexpected token 'with'",
stack: "SyntaxError: Unexpected token 'with'\n" +
' at DefaultModuleLoader.moduleStrategy (node:internal/modules/esm/translators:116:18)\n' +
' at DefaultModuleLoader.moduleProvider (node:internal/modules/esm/loader:190:14)'
} |
Hi @gaby, Thanks again for reporting this issue! I'm also trying to reproduce the error on my end, but so far, everything seems to be working correctly on my machine. I recently updated the Could you please share a few details about your environment? It would be helpful to know what operating system you're using (e.g., Windows, macOS, or Linux, and the distribution name/version if applicable). Thank you for your cooperation! |
@yamadashy Linux, Ubuntu 22.04 with Nodejs 20.x |
Idea: Being able to omit and/or customize File Summary. I just want the code in the output, not anything else.
Proposal: Adding
output.summaryText
oroutput.removeFileSummary
would be great.The text was updated successfully, but these errors were encountered: