Skip to content

Add the option to not print the filename #57

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tomzx
Copy link

@tomzx tomzx commented Apr 4, 2025

What

Add --filename/--no-filename as an option to let users decide whether they want the filename to be part of the output or not.

Why

In some scenario you don't need the path to the file as part of your prompt and all you want is for the files to be concatenated.

If the `--cxml` flag is provided, the output will be structured as follows:

\b
<documents>
<document path="path/to/file1.txt">
<document index="1">
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💬 This was updated because the documentation didn't follow what the implementation currently does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant