Open
Description
The CLI should probably just exit with an error.
$ echo -e 'connectedpeers' | ./target/debug/wallet-cli | true
thread 'main' panicked at 'failed printing to stdout: Broken pipe (os error 32)', library/std/src/io/stdio.rs:1019:9
18: 0x55ae22c168ba - <wallet_cli_lib::console::StdioOutputConsole as wallet_cli_lib::console::ConsoleOutput>::print_error::h7e59760575a96c64
at mintlayer-core/wallet/wallet-cli-lib/src/console.rs:63:13