mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
11 lines
327 B
Python
11 lines
327 B
Python
from argenta.command import Command
|
|
from argenta.router import Router
|
|
|
|
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!")
|