commit d6f4b57d64566484e7edf0a40c5e555875462178
parent a1a4fe8e92e4210d9609c354073116910dd48f28
Author: ThomasV <thomasv@gitorious>
Date: Sat, 30 May 2015 19:13:28 +0200
help function for python console
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/commands.py b/lib/commands.py
@@ -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)