{"action":"created","issue":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/827","labels_url":"https://api.github.com/repos/gulpjs/gulp/issues/827/labels{/name}","comments_url":"https://api.github.com/repos/gulpjs/gulp/issues/827/comments","events_url":"https://api.github.com/repos/gulpjs/gulp/issues/827/events","html_url":"https://github.com/gulpjs/gulp/issues/827","id":52058209,"number":827,"title":"split CLI out into a module","user":{"login":"contra","id":425716,"avatar_url":"https://avatars.githubusercontent.com/u/425716?v=3","gravatar_id":"","url":"https://api.github.com/users/contra","html_url":"https://github.com/contra","followers_url":"https://api.github.com/users/contra/followers","following_url":"https://api.github.com/users/contra/following{/other_user}","gists_url":"https://api.github.com/users/contra/gists{/gist_id}","starred_url":"https://api.github.com/users/contra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contra/subscriptions","organizations_url":"https://api.github.com/users/contra/orgs","repos_url":"https://api.github.com/users/contra/repos","events_url":"https://api.github.com/users/contra/events{/privacy}","received_events_url":"https://api.github.com/users/contra/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gulpjs/gulp/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/gulpjs/gulp/labels/gulp4","name":"gulp4","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"phated","id":992373,"avatar_url":"https://avatars.githubusercontent.com/u/992373?v=3","gravatar_id":"","url":"https://api.github.com/users/phated","html_url":"https://github.com/phated","followers_url":"https://api.github.com/users/phated/followers","following_url":"https://api.github.com/users/phated/following{/other_user}","gists_url":"https://api.github.com/users/phated/gists{/gist_id}","starred_url":"https://api.github.com/users/phated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phated/subscriptions","organizations_url":"https://api.github.com/users/phated/orgs","repos_url":"https://api.github.com/users/phated/repos","events_url":"https://api.github.com/users/phated/events{/privacy}","received_events_url":"https://api.github.com/users/phated/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/gulpjs/gulp/milestones/1","labels_url":"https://api.github.com/repos/gulpjs/gulp/milestones/1/labels","id":603352,"number":1,"title":"gulp 4","description":"","creator":{"login":"contra","id":425716,"avatar_url":"https://avatars.githubusercontent.com/u/425716?v=3","gravatar_id":"","url":"https://api.github.com/users/contra","html_url":"https://github.com/contra","followers_url":"https://api.github.com/users/contra/followers","following_url":"https://api.github.com/users/contra/following{/other_user}","gists_url":"https://api.github.com/users/contra/gists{/gist_id}","starred_url":"https://api.github.com/users/contra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contra/subscriptions","organizations_url":"https://api.github.com/users/contra/orgs","repos_url":"https://api.github.com/users/contra/repos","events_url":"https://api.github.com/users/contra/events{/privacy}","received_events_url":"https://api.github.com/users/contra/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":6,"state":"open","created_at":"2014-03-20T01:34:15Z","updated_at":"2014-12-29T22:59:16Z","due_on":"2014-12-31T08:00:00Z","closed_at":null},"comments":8,"created_at":"2014-12-16T00:26:24Z","updated_at":"2015-01-05T13:55:39Z","closed_at":null,"body":"this will clean up the codebase\r\n\r\nrepo: https://github.com/gulpjs/gulp-cli"},"comment":{"url":"https://api.github.com/repos/gulpjs/gulp/issues/comments/68710257","html_url":"https://github.com/gulpjs/gulp/issues/827#issuecomment-68710257","issue_url":"https://api.github.com/repos/gulpjs/gulp/issues/827","id":68710257,"user":{"login":"srcspider","id":338910,"avatar_url":"https://avatars.githubusercontent.com/u/338910?v=3","gravatar_id":"","url":"https://api.github.com/users/srcspider","html_url":"https://github.com/srcspider","followers_url":"https://api.github.com/users/srcspider/followers","following_url":"https://api.github.com/users/srcspider/following{/other_user}","gists_url":"https://api.github.com/users/srcspider/gists{/gist_id}","starred_url":"https://api.github.com/users/srcspider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srcspider/subscriptions","organizations_url":"https://api.github.com/users/srcspider/orgs","repos_url":"https://api.github.com/users/srcspider/repos","events_url":"https://api.github.com/users/srcspider/events{/privacy}","received_events_url":"https://api.github.com/users/srcspider/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T13:55:39Z","updated_at":"2015-01-05T13:55:39Z","body":"I'm referring to the case where you want to have gulp globally ONLY,  so no\r\npackage.json, node_modules etc.\r\n\r\nEven if code like this, would work:\r\n\r\nnpm i -g gulp\r\nnpm i -g gulp-cli\r\n\r\nIt's undesirable since you end up with \"this script requires gulp 3.x, but\r\nthis other project requires gulp 4.x\" so it's all a mess. At the global\r\nlevel unless it can work for all instances though systems like gulp-cli\r\ndoes (which in this case it cant since anything more then a single gulpfile\r\nis undesirable), its much better to be uniquely defined so it never breaks.\r\n\r\nOn Mon, Jan 5, 2015 at 8:15 AM, Eric Schoffstall <notifications@github.com>\r\nwrote:\r\n\r\n> @srcspider <https://github.com/srcspider> The gulp cli will work with\r\n> every version of gulp, it won't matter what version you have installed.\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/gulpjs/gulp/issues/827#issuecomment-68672022>.\r\n>"}}