I think it could be useful to implement two arguments for cli to make it more useful in cases outside of debugging:
-hostfile <path>: provide a path to a newline-separated file with hostnames to be connected to
-cmdfile <path>: provide a path to a newline-separated file with commands to be executed