rust-lightning-bitcoinrpc icon indicating copy to clipboard operation
rust-lightning-bitcoinrpc copied to clipboard

WIP: Introduce a struct for managing command line arguments without cargo dependencies

Open jtimon opened this issue 5 years ago • 1 comments

This should make it much easier to add, remove or document parameters. There's probably hundreds of better argument parsers, but I wasn't able to chose, passing integration tetes shouldn't take much and I also wanted to be able to set certain parameters by chain and just ignore them if they're set but the chain is not selected.

I'm still learning rust, be harsh to the code, not to me, please.

I think this could help with https://github.com/TheBlueMatt/rust-lightning-bitcoinrpc/issues/7

jtimon avatar Jul 16 '19 05:07 jtimon

Rebased. @TheBlueMatt , this should now pass or fail travis tests as soon as you enable them.

jtimon avatar Jul 27 '19 23:07 jtimon