code2prompt
code2prompt copied to clipboard
--exclude not working as per the instructions given in README
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?