lnd/cmd/lncli
Johan T. Halseth d1e39e764b
lncli: Print help text in case of encrypted wallet.
This commit adds a decorator that will inspect the
error from an command action, and prints an encrypted
wallet help text if the error has status code Unimplemented.

This is done to help a user that is trying to issue
lncli commands before unlocking the wallet, since
the RPC server won't be active and every call will
return this status code.
2017-11-09 11:10:32 -08:00
..
commands.go lncli: Print help text in case of encrypted wallet. 2017-11-09 11:10:32 -08:00
main.go lncli: add a convenience command for paying an invoice 2017-10-27 15:39:54 -07:00