Skip to content
Compare
Choose a tag to compare
@simonw simonw released this 19 Feb 05:57
  • 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