xmr-btc-swap/swap
Daniel Karzel 69cf12620d
Activate mainnet for the CLI
This includes testing CLI commandline args
Clap's `default_value_with` actually did not work on `Subcommand`s because the parent's flags were not picked up.
This was fixed by changing parameters dependent on testnet/mainnet to options.
This problem should have been detected by tests, that's why the command line parameter tests were finally (re-)added.

Thanks to @rishflab for some pre-work for this.
2021-05-20 12:57:58 +10:00
..
src Activate mainnet for the CLI 2021-05-20 12:57:58 +10:00
tests Log exchange rate at each state. 2021-05-11 15:27:49 +10:00
Cargo.toml Toggle json logs using commandline flag. 2021-05-11 15:28:25 +10:00