I\'ve recently been working on a bunch of little interactive CLI programs in rust and stumbled across issues when trying to debug it. In order to create automated tests i cr