From d6f4b57d64566484e7edf0a40c5e555875462178 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 30 May 2015 19:13:28 +0200 Subject: [PATCH] help function for python console --- lib/commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/commands.py b/lib/commands.py index e6d4c9e15..49847e47d 100644 --- 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)