Files
Argenta/examples/example_min_app/routers.py
T

9 lines
228 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!")