Getting Started¶
Installation¶
Basic usage¶
Run dumpcat in any directory to dump its file tree and contents as Markdown:
Dump a specific directory:
Filtering files¶
Only include certain extensions:
Exclude patterns:
Limit directory depth:
Output options¶
Write to a file instead of stdout:
Switch output format:
Prepending prompts¶
Add context for your LLM at the top of the output:
Or read from a prompt template file:
Show stats¶
Get a summary of file count, lines, and estimated tokens:
Sending output to a local LLM¶
Dumpcat can send your dump directly to a local LLM (Ollama, vLLM, LM Studio) or any OpenAI-compatible endpoint:
Set up reusable LLM targets:
# Create a starter config
dumpcat init
# Edit ~/.dumpcat/dumpcat_profiles.toml, then:
dumpcat src/ --llm -p "Explain this codebase"
Appending to output files¶
Use -A to append to an existing file instead of overwriting:
What's next?¶
- See the full CLI Reference for every flag
- Learn about Output Formats
- Set up project-level Configuration with
.dumpcat.toml - Browse real-world Examples