cli module creating

This commit is contained in:
2026-02-08 19:23:15 +03:00
parent e9dd7af905
commit b732036e87
4 changed files with 74 additions and 8 deletions
+2 -6
View File
@@ -1,5 +1,4 @@
from argenta import App, Command, Response, Router
from argenta import App, Command, Response, Router, Orchestrator
app = App(override_system_messages=True)
router = Router()
@@ -12,7 +11,4 @@ def handler(_res: Response) -> None:
def handler2(_res: Response) -> None:
pass
app.include_routers(router)
app._pre_cycle_setup()
assert app._most_similar_command('command_') == 'command'
orch = Orchestrator()