{"action":"created","issue":{"url":"https://api.github.com/repos/metarhia/JSTP/issues/127","repository_url":"https://api.github.com/repos/metarhia/JSTP","labels_url":"https://api.github.com/repos/metarhia/JSTP/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/metarhia/JSTP/issues/127/comments","events_url":"https://api.github.com/repos/metarhia/JSTP/issues/127/events","html_url":"https://github.com/metarhia/JSTP/pull/127","id":226599664,"number":127,"title":"cli: move to cli.js to lib","user":{"login":"lundibundi","id":9109612,"avatar_url":"https://avatars3.githubusercontent.com/u/9109612?v=3","gravatar_id":"","url":"https://api.github.com/users/lundibundi","html_url":"https://github.com/lundibundi","followers_url":"https://api.github.com/users/lundibundi/followers","following_url":"https://api.github.com/users/lundibundi/following{/other_user}","gists_url":"https://api.github.com/users/lundibundi/gists{/gist_id}","starred_url":"https://api.github.com/users/lundibundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lundibundi/subscriptions","organizations_url":"https://api.github.com/users/lundibundi/orgs","repos_url":"https://api.github.com/users/lundibundi/repos","events_url":"https://api.github.com/users/lundibundi/events{/privacy}","received_events_url":"https://api.github.com/users/lundibundi/received_events","type":"User","site_admin":false},"labels":[{"id":571289671,"url":"https://api.github.com/repos/metarhia/JSTP/labels/cli","name":"cli","color":"e99695","default":false}],"state":"open","locked":false,"assignee":{"login":"lundibundi","id":9109612,"avatar_url":"https://avatars3.githubusercontent.com/u/9109612?v=3","gravatar_id":"","url":"https://api.github.com/users/lundibundi","html_url":"https://github.com/lundibundi","followers_url":"https://api.github.com/users/lundibundi/followers","following_url":"https://api.github.com/users/lundibundi/following{/other_user}","gists_url":"https://api.github.com/users/lundibundi/gists{/gist_id}","starred_url":"https://api.github.com/users/lundibundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lundibundi/subscriptions","organizations_url":"https://api.github.com/users/lundibundi/orgs","repos_url":"https://api.github.com/users/lundibundi/repos","events_url":"https://api.github.com/users/lundibundi/events{/privacy}","received_events_url":"https://api.github.com/users/lundibundi/received_events","type":"User","site_admin":false},"assignees":[{"login":"lundibundi","id":9109612,"avatar_url":"https://avatars3.githubusercontent.com/u/9109612?v=3","gravatar_id":"","url":"https://api.github.com/users/lundibundi","html_url":"https://github.com/lundibundi","followers_url":"https://api.github.com/users/lundibundi/followers","following_url":"https://api.github.com/users/lundibundi/following{/other_user}","gists_url":"https://api.github.com/users/lundibundi/gists{/gist_id}","starred_url":"https://api.github.com/users/lundibundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lundibundi/subscriptions","organizations_url":"https://api.github.com/users/lundibundi/orgs","repos_url":"https://api.github.com/users/lundibundi/repos","events_url":"https://api.github.com/users/lundibundi/events{/privacy}","received_events_url":"https://api.github.com/users/lundibundi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-05-05T14:57:53Z","updated_at":"2017-05-05T15:51:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/metarhia/JSTP/pulls/127","html_url":"https://github.com/metarhia/JSTP/pull/127","diff_url":"https://github.com/metarhia/JSTP/pull/127.diff","patch_url":"https://github.com/metarhia/JSTP/pull/127.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/metarhia/JSTP/issues/comments/299502251","html_url":"https://github.com/metarhia/JSTP/pull/127#issuecomment-299502251","issue_url":"https://api.github.com/repos/metarhia/JSTP/issues/127","id":299502251,"user":{"login":"aqrln","id":4923335,"avatar_url":"https://avatars2.githubusercontent.com/u/4923335?v=3","gravatar_id":"","url":"https://api.github.com/users/aqrln","html_url":"https://github.com/aqrln","followers_url":"https://api.github.com/users/aqrln/followers","following_url":"https://api.github.com/users/aqrln/following{/other_user}","gists_url":"https://api.github.com/users/aqrln/gists{/gist_id}","starred_url":"https://api.github.com/users/aqrln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aqrln/subscriptions","organizations_url":"https://api.github.com/users/aqrln/orgs","repos_url":"https://api.github.com/users/aqrln/repos","events_url":"https://api.github.com/users/aqrln/events{/privacy}","received_events_url":"https://api.github.com/users/aqrln/received_events","type":"User","site_admin":false},"created_at":"2017-05-05T15:51:16Z","updated_at":"2017-05-05T15:51:16Z","body":"@lundibundi I'd say everything that knows about `process.stdin`, `process.stdout`, `process.on('SIGINT', ...)` and `process.exit()` should got to `bin/cli.js`, everything else to `lib/cli.js`. It may require some refactoring though, since anything related to the logic should know nothing about the former, but as far as I see, `cli.js` is quite tightly coupled."}}
{"actor":{"display_login":"aqrln"}}