cgross / generator-cg-angular

Yeoman generator for Enterprise Angular projects.
MIT License
592 stars 198 forks source link

undefined - package name? in cli for partial #17

Closed thinkadoo closed 10 years ago

thinkadoo commented 10 years ago

The feedback in cli for cli partial is missing the package 'name' or some other variable. It works fine, but the feedback is confusing :) Example: yo cg-angular:partial mod1 [?] Enter your route name (i.e. /mypartial/:id). If you don't want a route added for you, leave this empty. /mod1 undefined index.html <-- guess ' %s' not defined undefined app/app.less <-- guess ' %s' not defined undefined js/setup.js <-- guess ' %s' not defined create partial/mod1/mod1.js create partial/mod1/mod1.html create partial/mod1/mod1.less create partial/mod1/mod1-spec.js

cgross commented 10 years ago

Yes thats an issue with the output. Its already been fixed by a PR. I will be releasing a new version of the generator pretty soon. Thanks.