lnd.xprv/cmd
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
..
lncli lncli: Print help text in case of encrypted wallet. 2017-11-09 11:10:32 -08:00