Command-line interface to the simulator.