dumpall: The smart file aggregator for AI context and code reviews
I've built a new CLI utility called dumpall that solves a pain point I've often had: needing to quickly provide a structured dump of project files to an AI for context, or to a colleague for a code review.
The core idea is to follow the Unix philosophy: do one thing well. dumpall recursively reads files in a directory, respects exclusions (like node_modules or .git), and formats the output into clean Markdown fenced code blocks.
Key Features:
LLM-Optimized: Output is designed for easy consumption by large language models, providing clean and structured context.
Clipboard Integration: Use the --clip flag to send the entire output directly to your clipboard.
Smart Exclusions: Easily ignore unwanted directories and files.
Versatile: Great for providing context to AI, preparing code for a review, or simply archiving a project's state.
I'd love to hear your thoughts and feedback. You can try it out with npx dumpall . -e node_modules -e .git.