This commit is contained in:
2025-11-29 11:51:59 +03:00
parent 47fda23431
commit 2a96dfcabe
28 changed files with 103 additions and 242 deletions
+10 -1
View File
@@ -1,9 +1,18 @@
from argenta import Router, Response, Command
from argenta.command import Flags, Flag
work_router: Router = Router(title="Base points:", disable_redirect_stdout=True)
@work_router.command(Command('hello', 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}!")