A CLI tool that merges multiple files into a single text file
Project description
Dumper
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.
✨ Features
- 📂 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
🚀 Installation
Recommended installing with uv:
uv tool install cli-dumper
or from source:
git clone https://github.com/DasKaroWow/cli-dumper.git
cd cli-dumper
pip install -e .
📖 Usage
After installation, the CLI is available as dumper.
dumper .py --ignore-dirs venv --ignore-files test.py
This will:
- collect all
.pyfiles in the project (excludingvenv/andtest.py) - merge their content into
project_dump.txtin the current folder - print a summary
🧑💻 Development
Run tests:
uv run pytest
Code style checks (if you add ruff/black):
uv run ruff check .
uv run ruff format .
📜 License
MIT License. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cli_dumper-1.1.tar.gz.
File metadata
- Download URL: cli_dumper-1.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcb796866eb692933f66099f1b015479f6f580c4ecc602380b8472d528cb7c48
|
|
| MD5 |
d01554f8e442f92d058eeceaa1bc1a57
|
|
| BLAKE2b-256 |
e07fa003960b52a30cca055437a6e06c88e6e3d05932cd66d813835e7ef5f781
|
File details
Details for the file cli_dumper-1.1-py3-none-any.whl.
File metadata
- Download URL: cli_dumper-1.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a11e3d0d699b4bbdc67ee70a8df97f70cd6b94e027a028da98a48deacdbe2bd
|
|
| MD5 |
6dbee7fd3c4ac268796f84bcccf698ac
|
|
| BLAKE2b-256 |
86ecf4e5fc84a7e423adb51c700301a2cd5ec91880336e0c975cd9f8359d5c46
|