simonw / files-to-prompt

Concatenate a directory full of files into a single prompt for use with LLMs
Apache License 2.0
488 stars 43 forks source link

--ignore multi option to ignore specific files #1

Closed simonw closed 6 months ago

simonw commented 6 months ago

For eg --ignore LICENSE - should support glob syntax too.

avonx commented 6 months ago

If it could read a file in a format of ".gitignore", it would be the best.

simonw commented 6 months ago

Need to update the README with this now.

simonw commented 6 months ago
files-to-prompt README.md files_to_prompt/cli.py | llm -m opus \
  --system 'Update README to reflect all options'

https://gist.github.com/simonw/8d52902a261851f20b463084ec05f230