Refactored cli to return errors
Refactored cli to return errors

The old signature used in this application has been deprecated, see:
https://github.com/codegangsta/cli/blob/master/CHANGELOG.md#deprecated

rnubel/pgmgr