Better command line handling.

Improve error codes to return 1 when dots is not used properly.
Add message for invalid command.
Add install command.

Need to figure out how to mock git properly.