Fixes #207 - Handle CLI errors, and exit with code 1 if there are errors
Merge pull request #209 from arian/fix-207-cli-errorcode

Fixes #207 - Handle CLI errors, and exit with code 1 if there are errors