#!/usr/bin/env python3
import main

print("=" * 80)
print("ALL REGISTERED ROUTES")
print("=" * 80)

for i, route in enumerate(main.app.routes):
    if hasattr(route, 'path'):
        print(f"{i+1:3}. {route.path:60}")
        if 'time' in route.path.lower():
            print(f"     ^^^ TIMETRACKING ROUTE ^^^")
    else:
        print(f"{i+1:3}. {route}")

print(f"\n Total routes: {len(main.app.routes)}")
