code2prompt icon indicating copy to clipboard operation
code2prompt copied to clipboard

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

Open hrithikt opened this issue 1 year ago • 0 comments

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?

hrithikt avatar Aug 29 '24 21:08 hrithikt