fix tests and improve perf

This commit is contained in:
2026-01-09 10:14:25 +03:00
parent 56189be6ab
commit c5dab43c87
8 changed files with 37 additions and 105 deletions
+8 -1
View File
@@ -4,7 +4,14 @@ from argenta.command import Flag, Flags
work_router: Router = Router(title="Base points:", disable_redirect_stdout=True)
@work_router.command(Command("hello", flags=Flags(Flag("test")), description="Hello, world!"))
@work_router.command(
Command(
"hello",
flags=Flags([
Flag("test")
]),
description="Hello, world!")
)
def command_help(response: Response):
c = input("Enter your name: ")
print(f"Hello, {c}!")