mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
9 lines
325 B
Python
9 lines
325 B
Python
from argenta.router import Router
|
|
from argenta.command import Command
|
|
|
|
user_router = Router(title="User Management")
|
|
|
|
@user_router.command(Command("add-user", description="Adds a new user"))
|
|
def add_user_handler(response):
|
|
# Логика добавления пользователя
|
|
print("User added successfully!") |