From ea2d8f2491a21fa61932b7c2a5b292d20ada4f53 Mon Sep 17 00:00:00 2001 From: thomasv Date: Tue, 26 Feb 2013 16:29:44 +0100 Subject: [PATCH] move commands list to commands.py --- electrum | 76 ------------------------------------------------------- lib/__init__.py | 2 +- lib/commands.py | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 77 deletions(-) diff --git a/electrum b/electrum index 8e723a7..a67dac2 100755 --- a/electrum +++ b/electrum @@ -38,82 +38,6 @@ except ImportError: from decimal import Decimal -known_commands = { - 'help':'Prints this help', - 'validateaddress':'Check that the address is valid', - 'balance': "Display the balance of your wallet or of an address.\nSyntax: balance [
]", - 'contacts': "Show your list of contacts", - 'create':'Create a wallet', - 'restore':'Restore a wallet', - 'payto':"""Create and broadcast a transaction. -Syntax: payto [label] - can be a bitcoin address or a label -options:\n --fee, -f: set transaction fee\n --fromaddr, -s: send from address -\n --changeaddr, -c: send change to address - """, - 'sendrawtransaction': - 'Broadcasts a transaction to the network. \nSyntax: sendrawtransaction ', - 'password': - "Changes your password", - 'addresses': - """Shows your list of addresses. -options: - -a: show all addresses, including change addresses - -k: show private keys - -b: show the balance of addresses""", - - 'history':"Shows the transaction history", - 'setlabel':'Assign a label to an item\nSyntax: label