This commit is contained in:
2025-02-27 01:16:39 +03:00
parent 158e5eb75a
commit b72fcc6a11
5 changed files with 49 additions and 16 deletions
+2 -2
View File
@@ -30,9 +30,9 @@ def command_help():
@work_router.command(Command(command='P', description='Start Solving', flags=flagi))
def command_start_solving(args: FlagsGroup | None):
def command_start_solving(argrrtrts: FlagsGroup | None):
print('Solving...')
flags = args.get_flags()
flags = argrrtrts.get_flags()
for flag in flags:
print(f'name: "{flag.get_string_entity()}", value: "{flag.get_value()}"')
#start_solving_command()
+1
View File
@@ -23,6 +23,7 @@ def main():
app.set_initial_message(initial_greeting)
app.set_farewell_message(goodbye_message)
app.set_invalid_input_flags_handler(lambda raw_command: print("Custom iif handler"))
app.set_description_message_pattern('[bold red][{command}][/bold red] [blue]*=*=*[/blue] [bold yellow italic]{description}')