mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
add 'get' command to CLI
This commit is contained in:
parent
53310690a5
commit
138c98d7d8
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue