Update the reference implementation
This commit is contained in:
parent
d73004270d
commit
02a7352614
1 changed files with 3 additions and 3 deletions
6
main.py
6
main.py
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue