I am interested in how to be able to paste a code project into an LLM for modificaiton, improvements, bug fixes. The first step is to create a text prompt from the directory with code.
a python script that can recursively parse a directory of files with specific files extensions and copy all the files into a text string. Must be able to take as argument the directory string, and must have a variable to specify multiple file extensions. It should save the text file as prompt.txt
https://gist.github.com/culurciello/f7fcbcfe783fbf84b4b4bcd370e23af6