Enable lint and it's output for cli

Fixes #197
Let's move this to cli.js as it's meant to be called separately