Skip to content

Releases: simonw/files-to-prompt

0.6

19 Feb 05:57
Compare
Choose a tag to compare
  • New -m/--markdown option for outputting results as Markdown with each file in a fenced code block. #42
  • Support for reading a list of files from standard input. Thanks, Ankit Shankar. #44
    Here's how to process just files modified within the last day:
    find . -mtime -1 | files-to-prompt
    
    You can also use the -0/--null flag to accept lists of file paths separated by null delimiters, which is useful for handling file names with spaces in them:
    find . -name "*.txt" -print0 | files-to-prompt -0
    

0.5

14 Feb 04:05
Compare
Choose a tag to compare
0.5
  • New -n/--line-numbers flag for including line numbers in the output. Thanks, Dan Clayton. #38
  • Fix for utf-8 handling on Windows. Thanks, David Jarman. #36
  • --ignore patterns are now matched against directory names as well as file names, unless you pass the new --ignore-files-only flag. Thanks, Nick Powell. #30

0.4

16 Oct 23:25
Compare
Choose a tag to compare
0.4
  • New -e/--extension <ext> option that filters for files with one or more specified extension, for example files-to-prompt . -e md -e py to find all Markdown and Python in the current directory. #28

0.3

09 Sep 05:46
Compare
Choose a tag to compare
0.3
  • New -o/--output <file> option for writing the output to a file. #9
  • New -c/--cxml option for outputting using the Claude XML-ish format described here. Thanks, Lex Herbert. #15

0.2.1

08 Apr 06:04
Compare
Choose a tag to compare
  • Warn and skip non-UTF-8 files, rather than crashing. Warnings are printed to standard error. #5

0.2

08 Apr 05:39
b123b19
Compare
Choose a tag to compare
0.2
  • New --ignore '*.md' multi-option for providing additional patterns to ignore. Thanks, Dipam Vasani. #1
  • files-to-prompt can now be passed multiple files and directories as arguments, for example files-to-prompt my_app.py tests/. #2

0.1

22 Mar 15:48
38b7611
Compare
Choose a tag to compare
0.1
  • Initial release. Run files-to-prompt . to concatenate together the current directory contents into a prompt suitable for piping to an LLM.