{"action":"created","issue":{"url":"https://api.github.com/repos/garris/BackstopJS/issues/232","repository_url":"https://api.github.com/repos/garris/BackstopJS","labels_url":"https://api.github.com/repos/garris/BackstopJS/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/garris/BackstopJS/issues/232/comments","events_url":"https://api.github.com/repos/garris/BackstopJS/issues/232/events","html_url":"https://github.com/garris/BackstopJS/pull/232","id":167832693,"number":232,"title":"WIP : Move Gulp tasks to custom CLI #164","user":{"login":"JulienPradet","id":4851789,"avatar_url":"https://avatars.githubusercontent.com/u/4851789?v=3","gravatar_id":"","url":"https://api.github.com/users/JulienPradet","html_url":"https://github.com/JulienPradet","followers_url":"https://api.github.com/users/JulienPradet/followers","following_url":"https://api.github.com/users/JulienPradet/following{/other_user}","gists_url":"https://api.github.com/users/JulienPradet/gists{/gist_id}","starred_url":"https://api.github.com/users/JulienPradet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulienPradet/subscriptions","organizations_url":"https://api.github.com/users/JulienPradet/orgs","repos_url":"https://api.github.com/users/JulienPradet/repos","events_url":"https://api.github.com/users/JulienPradet/events{/privacy}","received_events_url":"https://api.github.com/users/JulienPradet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-27T11:33:38Z","updated_at":"2016-08-03T21:45:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/garris/BackstopJS/pulls/232","html_url":"https://github.com/garris/BackstopJS/pull/232","diff_url":"https://github.com/garris/BackstopJS/pull/232.diff","patch_url":"https://github.com/garris/BackstopJS/pull/232.patch"},"body":"Hi!\r\n\r\nThat's still very early in development but that's what I suggest for #164. If it it does not suit the vision, feel free to tell me.\r\n\r\nBasically, I've made :\r\n\r\n* the CLI folder that does the basic mapping from CLI to the commands.\r\n* the core command system that registers each available command and execute it.\r\n  One can execute a command directly from the javascript file by doing :\r\n```js\r\nvar executeCommand = require('backstopjs/core/command');\r\nexecuteCommand('commandName', 'arg1', 'arg2')\r\n```\r\n\r\nIn order to ease the transition, I still use the gulp piping system. Its named `vinyl-fs`.\r\nI can dumbly copy/paste the gulp tasks to make them work. Did you have some other refactoring in mind ?\r\n\r\nI was also wondering what was the purpose of the _init_.js task ? Is it a task that is always performed on any task ?\r\n\r\nOh, and finally : which version of node are you supporting ?"},"comment":{"url":"https://api.github.com/repos/garris/BackstopJS/issues/comments/237384718","html_url":"https://github.com/garris/BackstopJS/pull/232#issuecomment-237384718","issue_url":"https://api.github.com/repos/garris/BackstopJS/issues/232","id":237384718,"user":{"login":"JulienPradet","id":4851789,"avatar_url":"https://avatars.githubusercontent.com/u/4851789?v=3","gravatar_id":"","url":"https://api.github.com/users/JulienPradet","html_url":"https://github.com/JulienPradet","followers_url":"https://api.github.com/users/JulienPradet/followers","following_url":"https://api.github.com/users/JulienPradet/following{/other_user}","gists_url":"https://api.github.com/users/JulienPradet/gists{/gist_id}","starred_url":"https://api.github.com/users/JulienPradet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulienPradet/subscriptions","organizations_url":"https://api.github.com/users/JulienPradet/orgs","repos_url":"https://api.github.com/users/JulienPradet/repos","events_url":"https://api.github.com/users/JulienPradet/events{/privacy}","received_events_url":"https://api.github.com/users/JulienPradet/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T21:45:43Z","updated_at":"2016-08-03T21:45:43Z","body":"Just to keep some updates here, I have done some refactoring in order to promisify every tasks. However 0 tests are run now 😂 (but that's a clean way to keep them all green !)\r\n\r\nAnyhow, I should push the updates with actual code tomorrow."}}
{"actor":{"display_login":"JulienPradet"}}