homelab_automation/dump_routes.py
Bruno Charest c3cd7c2621
Some checks failed
Tests / Backend Tests (Python) (3.10) (push) Has been cancelled
Tests / Backend Tests (Python) (3.11) (push) Has been cancelled
Tests / Backend Tests (Python) (3.12) (push) Has been cancelled
Tests / Frontend Tests (JS) (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / All Tests Passed (push) Has been cancelled
feat: Implement initial Homelab Automation API v2 with new models, routes, and core architecture, including a SQLAlchemy model refactoring script.
2026-03-03 20:18:22 -05:00

12 lines
293 B
Python

from app.factory import create_app
app = create_app()
with open("routes_dump.txt", "w") as f:
f.write("=== APP ROUTES ===\n")
for route in app.routes:
methods = getattr(route, "methods", "N/A")
f.write(f"{methods} {route.path}\n")
print("Dumped to routes_dump.txt")