Files
Argenta/docs/code_snippets/quickstart/routers.py
T
2025-11-02 01:04:31 +03:00

10 lines
225 B
Python

# routers.py
from argenta import Command, Response, Router
router = Router(title="Quickstart Example")
@router.command(Command("hello", description="Say hello"))
def handler(response: Response):
print("Hello, world!")