Code2Prompt is a powerful command-line tool that simplifies the process of providing context to Large Language Models (LLMs) by generating a comprehensive Markdown file containing the content of your codebase. ⭐ If you find Code2Prompt useful, consider giving us a star on GitHub! It helps us reach more developers and improve the tool. ⭐
BTW. Really helpful tool! It does exactly what I want. I pushed this all into gemini 1.5 flash and it was able to discuss my project intelligently.
I have tried specifying the --exclude in both the command line and inside the configuration file. I also also tried both formats in the examples "/tests/" and "tests/*.
BTW. Really helpful tool! It does exactly what I want. I pushed this all into gemini 1.5 flash and it was able to discuss my project intelligently.
I have tried specifying the --exclude in both the command line and inside the configuration file. I also also tried both formats in the examples "/tests/" and "tests/*.
{ "suppress_comments": true, "line_number": true, "encoding": "cl100k_base", "filter": ".py,.js", "exclude": "tests/,prototypes/", "tokens": true }
(hals-pen-py3.10) yazoooo@yazoooo-dev:~/PycharmProjects/hals-pen$ code2prompt --output code2prompt.txt --gitignore .gitignore --tokens --path .
Beginning of output Table of Contents