new models, logic refactor, renaminf constants and other

This commit is contained in:
2025-03-28 00:54:12 +03:00
parent 4256d67789
commit 1ec8ea53b4
8 changed files with 126 additions and 81 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ def command_help():
help_command()
@work_router.command(Command(trigger='P', description='Start Solving', flags=FlagsGroup(DefaultFlags.host_flag, DefaultFlags.port_flag)))
@work_router.command(Command(trigger='P', description='Start Solving', flags=FlagsGroup(DefaultFlags.HOST, DefaultFlags.PORT)))
def command_start_solving(args: dict):
print('Solving...')
pprint(args)
+2 -4
View File
@@ -9,8 +9,7 @@ app: App = App(prompt='[italic white bold]What do you want to do(enter number of
line_separate=f'\n{"[bold green]-[/bold green][bold red]-[/bold red]"*25}\n',
print_func=Console().print,
command_group_description_separate='',
repeat_command_groups=True,
ignore_exit_command_register=False)
repeat_command_groups=True)
def main():
@@ -20,8 +19,7 @@ def main():
ascii_goodbye_message: str = text2art('GoodBye', font='small')
goodbye_message: str = f'[bold red]\n{ascii_goodbye_message}{' '*12}made by kolo\n'
app.include_router(work_router)
app.include_router(settings_router)
app.include_routers(work_router, settings_router)
app.set_initial_message(initial_greeting)
app.set_farewell_message(goodbye_message)