Browse Source

add 'get' command to CLI

password_lineedit
ThomasV 6 years ago
parent
commit
138c98d7d8
  1. 5
      electrum/commands.py

5
electrum/commands.py

@ -220,6 +220,11 @@ class Commands:
self.wallet.storage.write()
return {'password':self.wallet.has_password()}
@command('w')
def get(self, key):
"""Return item from wallet storage"""
return self.wallet.storage.get(key)
@command('')
def getconfig(self, key):
"""Return a configuration variable. """

Loading…
Cancel
Save