Rambo started out as Vagrant code, and then turned into a wrapper around Vagrant.
In the talk, I presented on the best way to do that that I'm aware of. Python's subprocess can do a lot, but the more basic uses fall short in various ways when you want to build a CLI passthrough. Yesterday I gave a lightning talk at APUG about a better subprocess. A Better CLI Passthrough in Python Do you need to call something over a CLI with Python, and display the results? Start with this.