Oh this works just fine, and I think that this is a great place for the `format` command (you could even alias it to `fmt`). What you have here will definitely work, I just think it'd be a lot cleaner for the driver intput to take something like `io::Writer` to write output to (or an option which defaults to stdout). That way you can capture the output no matter who you are.