Skip to content

DasKaroWow/cli-dumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dumper

Python Typer Rich Tests

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 .py files in the project (excluding venv/ and test.py)
  • merge their content into project_dump.txt in 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.

About

A CLI tool that merges multiple files into a single text file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages