This commit is contained in:
2025-11-27 21:50:30 +03:00
parent e5be7b5d99
commit 1eaf2b6333
2 changed files with 11 additions and 21 deletions
+2 -5
View File
@@ -1,10 +1,7 @@
from argenta.command import Command
from argenta.router import Router
from argenta import Command, Response, Router
user_router = Router(title="User Management")
@user_router.command(Command("add-user", description="Adds a new user"))
def add_user_handler(response):
# Логика добавления пользователя
def add_user_handler(response: Response):
print("User added successfully!")