uotp/scripts/get-admin.py
meow e4034813a2 Added client.py for cli usage.
README.md updated to show cli usage.
Account Creation message made more appropriate for consumption.
Bug Fixed in scripts/get-admin.py
2019-11-20 15:53:05 +05:00

8 lines
No EOL
218 B
Python

import decouple
from os.path import join as join_path
from etcd3_wrapper import Etcd3Wrapper
client = Etcd3Wrapper()
admin_uotp = client.get(join_path(decouple.config('BASE_PREFIX'), 'admin'))
print(admin_uotp.value)