This commit is contained in:
2025-11-01 11:38:48 +03:00
parent 0598f6e7a5
commit e4a5c6d398
73 changed files with 53 additions and 50 deletions
@@ -0,0 +1,12 @@
from argenta import App
def custom_print_function(text: str) -> None:
"""Простая пользовательская функция вывода с префиксом."""
print(f"Префикс: {text}")
app = App(
initial_message="My App",
override_system_messages=True,
print_func=custom_print_function,
)