boltfetch
v1.0.4
Published
Fetches all files in the current directory and outputs them in a Markdown file.
Readme
boltfetch

Recursively fetches all code files in the current directory, ignoring what's in .gitignore and .boltfetchignore,
then outputs them into a single Markdown file with line numbers.
Usage
npx boltfetch -o my-complete-source.mdIf -o (or --output) is not provided, it will print to stdout.
Installation
You can run directly with npx:
npx boltfetchOr install globally:
npm install -g boltfetch
boltfetch -o output.mdIgnoring Files
boltfetch supports two ways to ignore files:
.gitignore- Respects your project's existing.gitignorepatterns.boltfetchignore- Additional patterns specific to boltfetch
The .boltfetchignore file works exactly like .gitignore and is useful when you want to ignore files that aren't in your .gitignore. For example:
# .boltfetchignore
*.test.js
docs/
temp/
*.mdBoth files support standard gitignore patterns including:
- Exact matches (file.txt)
- Directories (dir/)
- Wildcards (*.log)
- Negation (!important.log)
License
MIT
