dumpall logo

The smart file aggregator for AI context, code reviews, or archiving.

npx dumpall . -e node_modules

See it in Action

Watch `dumpall` quickly transform your project files into structured Markdown.

dumpall visual demo

Powerful Features

LLM-Optimized Output

Formats content into clean Markdown fenced code blocks, ideal for AI consumption.

Clipboard Integration

Copy the entire formatted output directly to your clipboard with a single flag.

Smart Exclusions

Easily ignore unwanted directories like `node_modules` or `.git` with `--exclude`.

Command-Line Options

Fine-tune `dumpall`'s behavior to fit your exact needs.

Option Alias Description
--exclude <name> -e Exclude files or directories by name. Can be used multiple times.
--clip -c Copy the output directly to the clipboard.
--color Enable colorized output for display in a terminal.
--no-progress Disable the progress indicator animation.
--version -v Show the current version of the script.
--help -h Show this help message.

Practical Examples

Get started quickly with these common use cases.

Dump Current Directory (Excluding)

Process all files in the current folder, ignoring `node_modules` and `.git` directories.

npx dumpall . -e node_modules -e .git

Dump `src` and Copy to Clipboard

Get the formatted content of your `src` folder directly into your clipboard.

npx dumpall ./src --clip

View Single File with Color

Display a specific file's content in your terminal with syntax highlighting enabled.

npx dumpall package.json --color

Disable Progress (for CI/Scripting)

Run `dumpall` without the animated spinner, useful for automated environments.

npx dumpall . --no-progress