pyvider 2024-12-10
Created bfiles standalone tool for generating file bundles from codebases
21 files · 730+ · 178-

Created bfiles tool with CLI, core bundling, and exclusion support

11 files changed
  • __init__.py bfiles package initialization
  • cli.py Argparse-based CLI for bundle generation (75 lines)
  • config.py Bundle configuration management (103 lines)
  • core.py Main bundling logic and file traversal (177 lines)
  • exclusions.py Gitignore-compatible pattern matching for excluding files (138 lines)
  • logger.py Logging setup for the tool (65 lines)
  • metadata.py File metadata tracking for sizes, types, and counts (51 lines)
  • metadata_writer.py Metadata output formatting (44 lines)
  • output.py Bundle file output generation (35 lines)
  • utils.py Shared utility functions (33 lines)
  • bf Shell wrapper script for bfiles
  • Created bfiles CLI with argparse-based interface for bundle generation instantiate behavioral
    2 files
    • cli.py
    • bf
  • Built core bundling engine with file traversal and gitignore-compatible exclusion patterns instantiate behavioral
    2 files
    • core.py
    • exclusions.py
  • Added configuration management, metadata tracking, and formatted output generation instantiate internal
    4 files
    • config.py
    • metadata.py
    • metadata_writer.py
    • output.py
  • Cleaned up old bundle text files and updated .gitignore baseline internal
    1 file
    • .gitignore