treeScannerASCII/test_usage.py

15 lines
264 B
Python
Raw Permalink Normal View History

2025-04-26 03:02:58 +02:00
#!/usr/bin/env python3
from scanner import TreeScanner, TreeScannerConfig
# Beispielkonfiguration
config = TreeScannerConfig(
root_path=".",
max_depth=2,
align_comments=True
)
scanner = TreeScanner(config)
baum = scanner.generate_tree()
print(baum)