help function for python console

This commit is contained in:
ThomasV 2015-05-30 19:13:28 +02:00
parent a1a4fe8e92
commit d6f4b57d64
1 changed files with 3 additions and 0 deletions

View File

@ -249,6 +249,9 @@ class Commands:
apply(self._callback, ())
return result
def help(self):
return sorted(known_commands.keys())
def make_seed(self, nbits, custom_entropy, language):
from mnemonic import Mnemonic
s = Mnemonic(language).make_seed(nbits, custom_entropy=custom_entropy)