mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
docs
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
from argenta import Router, Response, Command
|
||||
|
||||
work_router: Router = Router(title="Base points:")
|
||||
work_router: Router = Router(title="Base points:", disable_redirect_stdout=True)
|
||||
|
||||
|
||||
@work_router.command(Command('hello', description="Hello, world!"))
|
||||
def command_help(response: Response):
|
||||
print('Hello, world!')
|
||||
c = input("Enter your name: ")
|
||||
print(f"Hello, {c}!")
|
||||
|
||||
Reference in New Issue
Block a user