Put generated controller file into api/controllers
Check that command is called from within Sails app, and give usage hint when called without additional args.