mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
v0.2.0
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from pprint import pprint
|
||||
from rich.console import Console
|
||||
from argenta.router import Router
|
||||
|
||||
@@ -8,17 +9,17 @@ settings_router: Router = Router(name='settings')
|
||||
console = Console()
|
||||
|
||||
|
||||
@work_router.command(command='2')
|
||||
@work_router.command(command='a')
|
||||
def command_help():
|
||||
console.print('[bold red]command help [/bold red]')
|
||||
|
||||
|
||||
@work_router.command(command='2', description='txiyxykkkkkkkkkkkk')
|
||||
@work_router.command(command='B', description='tester')
|
||||
def command_start_solving():
|
||||
console.print('[bold red]command start [/bold red]')
|
||||
|
||||
|
||||
@settings_router.command(command='2')
|
||||
@settings_router.command(command='b')
|
||||
def command_settings():
|
||||
console.print('[bold red]command settings [/bold red]')
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
from pprint import pprint
|
||||
|
||||
from tests.mock_default_app.handlers.routers import work_router, settings_router
|
||||
from argenta.app.entity import App
|
||||
from art import text2art
|
||||
|
||||
|
||||
app: App = App()
|
||||
app: App = App(ignore_command_register=False,
|
||||
line_separate='\n-------------------------------\n')
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user