Skip to content
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

--exclude not working as per the instructions given in README #34

Open
hrithikt opened this issue Aug 29, 2024 · 0 comments
Open

--exclude not working as per the instructions given in README #34

hrithikt opened this issue Aug 29, 2024 · 0 comments

Comments

@hrithikt
Copy link

according to the readme:

Exclude files using glob patterns:

code2prompt path/to/codebase --exclude="*.txt,*.md"

however, when using this exact syntax, the prompt does not exclude .txt and .md files as expected. these file types still appear in the generated prompt.

in contrast, the following command successfully filters out the specified file types:

code2prompt path/to/codebase --exclude="txt,md"

is this a mistake in readme?

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

No branches or pull requests

1 participant