BACH Tool: c_pycutter
==================================================
Generiert: 2026-01-23 10:36
Quelle: tools/c_pycutter.py

BESCHREIBUNG
----------------------------------------
c_pycutter.py - Python-Klassen-Extractor

Zweck: Zerlegt Python-Dateien in separate Textdateien für jede Klasse,
       plus eine Hilfsfunktionen.txt für Imports, Funktionen und globalen Code.
       Ideal für Code-Review, Dokumentation oder LLM-Kontextmanagement.

Autor: Claude (adaptiert von pyCuttertxt.py)
Abhängigkeiten: ast, os, datetime (stdlib)

Usage:
    python c_pycutter.py <python_file> [--output-dir <dir>] [--json]
    
Beispiele:
    python c_pycutter.py main.py                    # Ausgabe im aktuellen Verzeichnis
    python c_pycutter.py main.py --output-dir ./out # Ausgabe in ./out
    python c_pycutter.py main.py --json             # JSON-Output für Weiterverarbeitung

VERWENDUNG
----------------------------------------
python bach.py tools run c_pycutter [args]
oder direkt: python tools/c_pycutter.py [args]

HINWEISE
----------------------------------------
- Automatisch generiert aus Docstring
- Bei Fragen: bach tools show c_pycutter
