Dumpall
A CLI utility to aggregate file contents into Markdown format, perfect for AI context and code reviews
Install / Use
/learn @DishantPal/DumpallREADME
dumpall
A smart CLI utility to aggregate file contents into a single, clean output, perfect for AI context, code reviews, or archiving.
dumpall recursively reads files in a directory, filters out unwanted items, and formats the output as clean, LLM-friendly Markdown code blocks.
✨ Features
- LLM-Optimized Output: Formats all content into unambiguous Markdown fenced code blocks.
- Clipboard Integration: Use the
--clipflag to copy the entire output directly to your clipboard. - Cross-Platform Support: Works on macOS, Linux (X11/Wayland), and Windows (via Git Bash/WSL).
- Colorized Output: An optional
--colorflag for improved readability in the terminal. - Smart Exclusions: Easily exclude common directories like
node_modulesor.git. - Live Progress Spinner: A dynamic progress indicator shows the script is working, which can be disabled for CI environments.
- Safe & Robust: Handles filenames with spaces or special characters and provides helpful error messages.
🚀 Usage
No permanent installation is needed! The easiest way to use dumpall is with npx:
npx dumpall <path> [options]
⚙️ Options
| Flag | Alias | Description |
| ----------------- | ----- | -------------------------------------------------- |
| --exclude <name> | -e | Exclude files or directories by name. Use multiple times for multiple exclusions. |
| --clip | -c | Copy the output directly to the clipboard. |
| --color | | Enable colorized output for terminal display. |
| --no-progress | | Disable the progress spinner animation. |
| --version | -v | Show the current version. |
| --help | -h | Show the help message. |
Environment Variables
DUMPALL_CLIP_CMD: Allows you to override the default clipboard command (e.g.,DUMPALL_CLIP_CMD="my-clip-tool" dumpall . -c).
💡 Examples
Dump the current directory, excluding node_modules and .git:
npx dumpall . -e node_modules -e .git
Dump the src directory and copy it to the clipboard:
npx dumpall ./src --clip
Dump a single file with colorized output:
npx dumpall package.json --color
A Note for Windows Users
dumpall is a Bash script and requires a Unix-like environment to run. We recommend using Git Bash (which comes with Git for Windows) or WSL for the best experience.
📄 License
Licensed under the MIT License.
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
