Added argparse support to the client script.

This looks better than the last attempt.
I'd move `config` init to main() and explicitly pass it to `rollback` and `view_checkpoints` rather than relying on global variables.