CodeDump is a simple Python tool that concatenates and dumps code from a directory, including file information such as size and last modified time.
To install CodeDump, run:
pip install codedump
Or clone this repository and run:
pip install .
CodeDump can be used from the command line:
# Dump all code files from current directory
codedump
# Dump all code files from a specific directory
codedump /path/to/directory
# Only list file paths without content
codedump -l
codedump --list-only
The tool will:
- Recursively scan the specified directory
- Find all code and configuration files
- Output their contents with file information
- Automatically copy the output to your clipboard
CodeDump automatically filters out:
- Binary files
- Build directories
- Cache directories
- Version control directories
- Log files
- Temporary files