Tool to get file path given an Ember fullName?


#1

Hi,

Coming from an older Ember version (previous to ember-cli) I must refactor lots of my code. Some things that I am still missing are the right placement of my modules in the filesystem hierarchy, so that for example:

controllers/profile-password.js

is not used at all (the canonical name seems to be controllers/profile/password.js). I see that mine is not used (amongst other things) because the console log shows something like:

generated -> controller:profile.password Object {fullName: "controller:profile.password"}

Is there any tool to get the filesystem path given an Ember fullName, as expected by the resolver used by ember-cli? I am looking for something like:

$ ember path --fullName controller:profile.password
controllers/profile/password.js

Thanks, DanG