Update the reference implementation

This commit is contained in:
codeking 2024-09-21 00:22:36 +02:00
parent d73004270d
commit 02a7352614

View file

@ -281,7 +281,7 @@ if __name__ == '__main__':
if arguments.subcommand is None: if arguments.subcommand is None:
application_parser.print_help() application_parser.print_help()
if arguments.subcommand == 'list': elif arguments.subcommand == 'list':
if arguments.code: if arguments.code:
@ -333,7 +333,7 @@ if __name__ == '__main__':
if arguments.subcommand is None: if arguments.subcommand is None:
get_parser.print_help() get_parser.print_help()
if arguments.subcommand == 'connection': elif arguments.subcommand == 'connection':
print(ConfigurationController.get_connection()) print(ConfigurationController.get_connection())
elif arguments.command == 'set': elif arguments.command == 'set':
@ -341,5 +341,5 @@ if __name__ == '__main__':
if arguments.subcommand is None: if arguments.subcommand is None:
set_parser.print_help() set_parser.print_help()
if arguments.subcommand == 'connection': elif arguments.subcommand == 'connection':
ConfigurationController.set_connection(arguments.connection_type) ConfigurationController.set_connection(arguments.connection_type)