This commit is contained in:
2025-10-19 22:44:49 +03:00
parent d146fc6b6b
commit 1314b11827
2 changed files with 24 additions and 27 deletions
@@ -0,0 +1,11 @@
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,
)