Compare commits
No commits in common. "5e0fab2082177e174273f60309ab6ee7909df47d" and "9a2cfbaa57f615967c75e7d9ae538a4719acfd02" have entirely different histories.
5e0fab2082
...
9a2cfbaa57
2 changed files with 2 additions and 20 deletions
|
|
@ -161,7 +161,6 @@ if __name__ == '__main__':
|
|||
get_subparsers = get_parser.add_subparsers(title='subcommands', dest='subcommand')
|
||||
|
||||
get_connection_parser = get_subparsers.add_parser('connection')
|
||||
get_endpoint_verification_parser = get_subparsers.add_parser('endpoint_verification')
|
||||
|
||||
set_parser = main_subparsers.add_parser('set')
|
||||
set_subparsers = set_parser.add_subparsers(title='subcommands', dest='subcommand')
|
||||
|
|
@ -169,9 +168,6 @@ if __name__ == '__main__':
|
|||
set_connection_parser = set_subparsers.add_parser('connection')
|
||||
set_connection_parser.add_argument('connection_type', choices=['system', 'tor'])
|
||||
|
||||
set_endpoint_verification_parser = set_subparsers.add_parser('endpoint_verification')
|
||||
set_endpoint_verification_parser.add_argument('endpoint_verification_state', choices=['enabled', 'disabled'])
|
||||
|
||||
sync_parser = main_subparsers.add_parser('sync')
|
||||
|
||||
update_parser = main_subparsers.add_parser('update')
|
||||
|
|
@ -396,13 +392,6 @@ if __name__ == '__main__':
|
|||
elif arguments.subcommand == 'connection':
|
||||
print(ConfigurationController.get_connection())
|
||||
|
||||
elif arguments.subcommand == 'endpoint_verification':
|
||||
|
||||
if ConfigurationController.get_endpoint_verification_enabled():
|
||||
print('enabled')
|
||||
else:
|
||||
print('disabled')
|
||||
|
||||
elif arguments.command == 'set':
|
||||
|
||||
if arguments.subcommand is None:
|
||||
|
|
@ -411,13 +400,6 @@ if __name__ == '__main__':
|
|||
elif arguments.subcommand == 'connection':
|
||||
ConfigurationController.set_connection(arguments.connection_type)
|
||||
|
||||
elif arguments.subcommand == 'endpoint_verification':
|
||||
|
||||
if arguments.endpoint_verification_state == 'enabled':
|
||||
ConfigurationController.set_endpoint_verification_enabled(True)
|
||||
elif arguments.endpoint_verification_state == 'disabled':
|
||||
ConfigurationController.set_endpoint_verification_enabled(False)
|
||||
|
||||
elif arguments.command == 'sync':
|
||||
ClientController.sync(client_observer=client_observer, connection_observer=connection_observer)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "sp-hydra-veil-cli"
|
||||
version = "1.1.4"
|
||||
version = "1.1.3"
|
||||
authors = [
|
||||
{ name = "Simplified Privacy" },
|
||||
]
|
||||
|
|
@ -12,7 +12,7 @@ classifiers = [
|
|||
"Operating System :: POSIX :: Linux",
|
||||
]
|
||||
dependencies = [
|
||||
"sp-hydra-veil-core == 1.1.4",
|
||||
"sp-hydra-veil-core == 1.1.3",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
|
|
|
|||
Loading…
Reference in a new issue