{"action":"created","issue":{"url":"https://api.github.com/repos/amwmedia/plop/issues/38","repository_url":"https://api.github.com/repos/amwmedia/plop","labels_url":"https://api.github.com/repos/amwmedia/plop/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/amwmedia/plop/issues/38/comments","events_url":"https://api.github.com/repos/amwmedia/plop/issues/38/events","html_url":"https://github.com/amwmedia/plop/pull/38","id":179534830,"number":38,"title":"loadPlops() method","user":{"login":"tkambler","id":4448053,"avatar_url":"https://avatars.githubusercontent.com/u/4448053?v=3","gravatar_id":"","url":"https://api.github.com/users/tkambler","html_url":"https://github.com/tkambler","followers_url":"https://api.github.com/users/tkambler/followers","following_url":"https://api.github.com/users/tkambler/following{/other_user}","gists_url":"https://api.github.com/users/tkambler/gists{/gist_id}","starred_url":"https://api.github.com/users/tkambler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkambler/subscriptions","organizations_url":"https://api.github.com/users/tkambler/orgs","repos_url":"https://api.github.com/users/tkambler/repos","events_url":"https://api.github.com/users/tkambler/events{/privacy}","received_events_url":"https://api.github.com/users/tkambler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-27T15:54:36Z","updated_at":"2016-09-27T18:24:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/amwmedia/plop/pulls/38","html_url":"https://github.com/amwmedia/plop/pull/38","diff_url":"https://github.com/amwmedia/plop/pull/38.diff","patch_url":"https://github.com/amwmedia/plop/pull/38.patch"},"body":"This PR introduces a backwards-compatible feature - the `loadPlops()` method. The concept is similar to that of Grunt's [loadTasks()](http://gruntjs.com/api/grunt.task#grunt.task.loadtasks) method. This feature allows you to decompose your plop structure into a series of multiple files, instead of one monolithic config file.\r\n\r\nExample:\r\n\r\n```\r\n// plopfile.js\r\nmodule.exports = function(plop) {\r\n\tplop.loadPlops('./plops');\r\n};\r\n\r\n// ./plops/my-generator.js\r\nmodule.exports = function(plop) {\r\n\tplop.setGenerator('my-generator', {\r\n\t\t// ...\r\n\t});\r\n};\r\n```"},"comment":{"url":"https://api.github.com/repos/amwmedia/plop/issues/comments/249953165","html_url":"https://github.com/amwmedia/plop/pull/38#issuecomment-249953165","issue_url":"https://api.github.com/repos/amwmedia/plop/issues/38","id":249953165,"user":{"login":"amwmedia","id":732336,"avatar_url":"https://avatars.githubusercontent.com/u/732336?v=3","gravatar_id":"","url":"https://api.github.com/users/amwmedia","html_url":"https://github.com/amwmedia","followers_url":"https://api.github.com/users/amwmedia/followers","following_url":"https://api.github.com/users/amwmedia/following{/other_user}","gists_url":"https://api.github.com/users/amwmedia/gists{/gist_id}","starred_url":"https://api.github.com/users/amwmedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amwmedia/subscriptions","organizations_url":"https://api.github.com/users/amwmedia/orgs","repos_url":"https://api.github.com/users/amwmedia/repos","events_url":"https://api.github.com/users/amwmedia/events{/privacy}","received_events_url":"https://api.github.com/users/amwmedia/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T18:24:03Z","updated_at":"2016-09-27T18:24:03Z","body":"I'll give it some thought, thanks for your input and time 😄 . Please don't take my hesitancy as a slight on what you've done here, just trying to be cautious about how much is put into the base tool. I think one of plops biggest strengths is its simplicity. You don't lose simplicity overnight, it's lost one feature at a time. So I try to keep asking myself, does this belong as part of plop's core competency? Maybe the answer is \"yes\", I'm just not sure yet.\r\n\r\nSorry if that got a little overly cerebral haha."}}
{"actor":{"display_login":"amwmedia"}}