This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Code Context Consolidator | |
| Consolidate code files from a specified directory into a single text file for LLM context. | |
| This script traverses a given directory, collects code files, and compiles them into a single | |
| text file with appropriate code blocks and directory structure for providing context to an LLM. | |
| It supports inclusion and exclusion of specific file types, files, and folders. |