Wrap user input/output to make testing easier
We need to use Java's console
class in order to hide passwords. Unfortunately, System.console()
returns null in Eclipse.
The current workaround is to run the project from an actual console using mafia-mitochondria/console.bat
. I suggest that instead, we make a wrapper for the console class that falls back to System.in/out
if there is no console present.