1277852 command line interface

@kbenne @Myoldmopar This is the Command Line Interface pull. Can one of you review? I've tested on Ubuntu, OS X, and Windows 7.