This commit is contained in:
2025-10-15 14:47:36 +03:00
parent bd37fab1ce
commit 2275ec1d00
11 changed files with 19 additions and 13 deletions
@@ -1,9 +1,9 @@
# routers.py
from argenta import Router, Response
from argenta import Router, Response, Command
router = Router()
router = Router(title="Quickstart Example")
@router.command("hello")
@router.command(Command("hello", description="Say hello"))
def handler(response: Response):
print("Hello, world!")