mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-03-25 07:36:56 -04:00

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.