Dumper is a simple CLI tool that merges multiple files into a single text file. It supports patterns for inclusion and allows ignoring specific files or directories.
- 📂 Merge multiple files into one text file
- 🎯 Use glob patterns to include files (
.py,.txt) - 🚫 Ignore directories and specific files
- 🎨 Colored output powered by rich
- 🧪 Tested with
pytest
uv tool install cli-dumpergit clone https://github.com/DasKaroWow/cli-dumper.git
cd cli-dumper
pip install -e .
After installation, the CLI is available as dumper.
dumper .py --ignore-dirs venv --ignore-files test.pyThis will:
- collect all
.pyfiles in the project (excludingvenv/andtest.py) - merge their content into
project_dump.txtin the current folder - print a summary
Run tests:
uv run pytestCode style checks (if you add ruff/black):
uv run ruff check .
uv run ruff format .MIT License. See LICENSE for details.