Update CLI based on @sindresorhus feedback

* don't use flagged args for file and selector
* exit properly if error opening file
single-quotes