minor refactor of bin/cli.js
minor refactor of bin/cli.js

this still needs refactoring. I think most of the generator instance resolution should probably be done inside the `register` method, since it's already needed there anyway

generate/generate,generate/generate