merf
v1.1.0
Published
CLI tool to aggregate codebase into markdown
Downloads
248
Maintainers
Readme
Merf
A CLI tool to aggregate your codebase into a single markdown file for use with AI models.
Installation
npm install -g merf
Usage
merf [directory] -o output.md -i node_modules .git
Options:
-o, --output <file>
: Output file (default: codebase.md)-i, --ignore <patterns...>
: Ignore patterns (default: node_modules, .git)
Development
# Watch mode
npm run dev
# Run tests
npm test
Examples
Aggregate current directory:
merf
Specify directory and output:
merf ./my-project -o project.md
Add custom ignore patterns:
merf -i node_modules .git dist build