mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
Update documentation and code snippets
This commit is contained in:
+2
-11
@@ -1,11 +1,2 @@
|
||||
from argenta import Router, Command
|
||||
|
||||
router = Router()
|
||||
@router.command(Command('some', aliases=['test', 'case']))
|
||||
def handler(response): # pyright: ignore[reportUnusedFunction]
|
||||
pass
|
||||
@router.command(Command('ext', aliases=['more', 'foo']))
|
||||
def handler2(response): # pyright: ignore[reportUnusedFunction]
|
||||
pass
|
||||
|
||||
print(router.aliases)
|
||||
import sys
|
||||
print(sys.version_info >= (3, 13))
|
||||
Reference in New Issue
Block a user