{"action":"created","issue":{"url":"https://api.github.com/repos/yeoman/generator/issues/502","labels_url":"https://api.github.com/repos/yeoman/generator/issues/502/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/generator/issues/502/comments","events_url":"https://api.github.com/repos/yeoman/generator/issues/502/events","html_url":"https://github.com/yeoman/generator/pull/502","id":27623323,"number":502,"title":"Add support for variable names in template destination filename - squashed version","user":{"login":"pborrazas","id":2123873,"avatar_url":"https://avatars.githubusercontent.com/u/2123873?v=3","gravatar_id":"","url":"https://api.github.com/users/pborrazas","html_url":"https://github.com/pborrazas","followers_url":"https://api.github.com/users/pborrazas/followers","following_url":"https://api.github.com/users/pborrazas/following{/other_user}","gists_url":"https://api.github.com/users/pborrazas/gists{/gist_id}","starred_url":"https://api.github.com/users/pborrazas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pborrazas/subscriptions","organizations_url":"https://api.github.com/users/pborrazas/orgs","repos_url":"https://api.github.com/users/pborrazas/repos","events_url":"https://api.github.com/users/pborrazas/events{/privacy}","received_events_url":"https://api.github.com/users/pborrazas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-02-14T20:38:19Z","updated_at":"2015-11-18T07:59:36Z","closed_at":"2014-02-17T17:08:18Z","pull_request":{"url":"https://api.github.com/repos/yeoman/generator/pulls/502","html_url":"https://github.com/yeoman/generator/pull/502","diff_url":"https://github.com/yeoman/generator/pull/502.diff","patch_url":"https://github.com/yeoman/generator/pull/502.patch"},"body":"This pull request include what @joaoafrmartins has suggested.\r\n\r\nI also like the idea to add this functionality to the directory method in order to be able to recursively process templated directories.\r\n\r\nIn case you decide to go on this direction, is the directory method the properly place to add it? \r\nAs we have ´copy´ and ´template´ methods, should we have ´directory´ and ´templateDirectory´ methods too?"},"comment":{"url":"https://api.github.com/repos/yeoman/generator/issues/comments/157638390","html_url":"https://github.com/yeoman/generator/pull/502#issuecomment-157638390","issue_url":"https://api.github.com/repos/yeoman/generator/issues/502","id":157638390,"user":{"login":"SBoudrias","id":923865,"avatar_url":"https://avatars.githubusercontent.com/u/923865?v=3","gravatar_id":"","url":"https://api.github.com/users/SBoudrias","html_url":"https://github.com/SBoudrias","followers_url":"https://api.github.com/users/SBoudrias/followers","following_url":"https://api.github.com/users/SBoudrias/following{/other_user}","gists_url":"https://api.github.com/users/SBoudrias/gists{/gist_id}","starred_url":"https://api.github.com/users/SBoudrias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SBoudrias/subscriptions","organizations_url":"https://api.github.com/users/SBoudrias/orgs","repos_url":"https://api.github.com/users/SBoudrias/repos","events_url":"https://api.github.com/users/SBoudrias/events{/privacy}","received_events_url":"https://api.github.com/users/SBoudrias/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T07:59:36Z","updated_at":"2015-11-18T07:59:36Z","body":"@nvdh check out the new file system: http://yeoman.io/authoring/file-system.html\r\n\r\nYou provide paths manually, so you can template them yourself if that's a better pattern for your app. But it's usually a fairly bad pattern."}}