{"action":"created","comment":{"url":"https://api.github.com/repos/webpack/webpack-cli/pulls/comments/244694262","pull_request_review_id":188625352,"id":244694262,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NDY5NDI2Mg==","diff_hunk":"@@ -1,3 +1,28 @@\n /**\n  * Endpoint for @webpack-cli/init\n  */\n+const express = require(\"express\");\n+const router = express.Router();\n+\n+router.get(\"/\", function(req, res, next) {\n+\tconst Q = require(\"../../utils/questioner\").default;\n+\tlet questioner = new Q();\n+\n+\tquestioner.start({\n+\t\taction: \"question\",\n+\t\tquestion: {\n+\t\t\tquestion: \"Do you want to start scaffold?\",\n+\t\t\ttype: \"Binary\"\n+\t\t}\n+\t}).then((data) => {\n+\t\tconsole.log(data);","path":"packages/ui-server/routes/api/init.js","position":18,"original_position":18,"commit_id":"e0f9513ee4c9b90bd474fca2236275510887b357","original_commit_id":"e0f9513ee4c9b90bd474fca2236275510887b357","user":{"login":"rishabh3112","id":15812317,"node_id":"MDQ6VXNlcjE1ODEyMzE3","avatar_url":"https://avatars3.githubusercontent.com/u/15812317?v=4","gravatar_id":"","url":"https://api.github.com/users/rishabh3112","html_url":"https://github.com/rishabh3112","followers_url":"https://api.github.com/users/rishabh3112/followers","following_url":"https://api.github.com/users/rishabh3112/following{/other_user}","gists_url":"https://api.github.com/users/rishabh3112/gists{/gist_id}","starred_url":"https://api.github.com/users/rishabh3112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rishabh3112/subscriptions","organizations_url":"https://api.github.com/users/rishabh3112/orgs","repos_url":"https://api.github.com/users/rishabh3112/repos","events_url":"https://api.github.com/users/rishabh3112/events{/privacy}","received_events_url":"https://api.github.com/users/rishabh3112/received_events","type":"User","site_admin":false},"body":"As I earlier said [here](https://github.com/webpack/webpack-cli/pull/700#discussion_r244252287) its just a demo for others to look into how to use TCP classes. I am writing whole init endpoint and will be removed in next commit.","created_at":"2019-01-02T09:52:46Z","updated_at":"2019-01-02T09:52:47Z","html_url":"https://github.com/webpack/webpack-cli/pull/700#discussion_r244694262","pull_request_url":"https://api.github.com/repos/webpack/webpack-cli/pulls/700","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/webpack/webpack-cli/pulls/comments/244694262"},"html":{"href":"https://github.com/webpack/webpack-cli/pull/700#discussion_r244694262"},"pull_request":{"href":"https://api.github.com/repos/webpack/webpack-cli/pulls/700"}},"in_reply_to_id":244683248},"pull_request":{"url":"https://api.github.com/repos/webpack/webpack-cli/pulls/700","id":234559364,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NTU5MzY0","html_url":"https://github.com/webpack/webpack-cli/pull/700","diff_url":"https://github.com/webpack/webpack-cli/pull/700.diff","patch_url":"https://github.com/webpack/webpack-cli/pull/700.patch","issue_url":"https://api.github.com/repos/webpack/webpack-cli/issues/700","number":700,"state":"open","locked":false,"title":"feat(ui): init interface for UI","user":{"login":"rishabh3112","id":15812317,"node_id":"MDQ6VXNlcjE1ODEyMzE3","avatar_url":"https://avatars3.githubusercontent.com/u/15812317?v=4","gravatar_id":"","url":"https://api.github.com/users/rishabh3112","html_url":"https://github.com/rishabh3112","followers_url":"https://api.github.com/users/rishabh3112/followers","following_url":"https://api.github.com/users/rishabh3112/following{/other_user}","gists_url":"https://api.github.com/users/rishabh3112/gists{/gist_id}","starred_url":"https://api.github.com/users/rishabh3112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rishabh3112/subscriptions","organizations_url":"https://api.github.com/users/rishabh3112/orgs","repos_url":"https://api.github.com/users/rishabh3112/repos","events_url":"https://api.github.com/users/rishabh3112/events{/privacy}","received_events_url":"https://api.github.com/users/rishabh3112/received_events","type":"User","site_admin":false},"body":"<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. -->\r\n\r\n**What kind of change does this PR introduce?**\r\n<!-- E.g. a bugfix, feature, refactoring, build related change, etc… -->\r\nDeveloping interface for ui\r\n**Did you add tests for your changes?**\r\nNo\r\n**If relevant, did you update the documentation?**\r\nNo\r\n**Summary**\r\n\r\n<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->\r\n<!-- Try to link to an open issue for more information. -->\r\n\r\n**Does this PR introduce a breaking change?**\r\n<!-- If this PR introduces a breaking change, please describe the impact and a migration path for existing applications. -->\r\n\r\n**Other information**\r\n","created_at":"2018-11-29T09:13:18Z","updated_at":"2019-01-02T09:52:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7295d508b4e053a5ce2af61a15931b6843a064a5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":796821127,"node_id":"MDU6TGFiZWw3OTY4MjExMjc=","url":"https://api.github.com/repos/webpack/webpack-cli/labels/PR:%20CI-not-ok","name":"PR: CI-not-ok","color":"d93f0b","default":false},{"id":796833206,"node_id":"MDU6TGFiZWw3OTY4MzMyMDY=","url":"https://api.github.com/repos/webpack/webpack-cli/labels/PR:%20reviewed-changes-requested","name":"PR: reviewed-changes-requested","color":"c2e0c6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/webpack/webpack-cli/pulls/700/commits","review_comments_url":"https://api.github.com/repos/webpack/webpack-cli/pulls/700/comments","review_comment_url":"https://api.github.com/repos/webpack/webpack-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/webpack/webpack-cli/issues/700/comments","statuses_url":"https://api.github.com/repos/webpack/webpack-cli/statuses/e0f9513ee4c9b90bd474fca2236275510887b357","head":{"label":"rishabh3112:ui-init","ref":"ui-init","sha":"e0f9513ee4c9b90bd474fca2236275510887b357","user":{"login":"rishabh3112","id":15812317,"node_id":"MDQ6VXNlcjE1ODEyMzE3","avatar_url":"https://avatars3.githubusercontent.com/u/15812317?v=4","gravatar_id":"","url":"https://api.github.com/users/rishabh3112","html_url":"https://github.com/rishabh3112","followers_url":"https://api.github.com/users/rishabh3112/followers","following_url":"https://api.github.com/users/rishabh3112/following{/other_user}","gists_url":"https://api.github.com/users/rishabh3112/gists{/gist_id}","starred_url":"https://api.github.com/users/rishabh3112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rishabh3112/subscriptions","organizations_url":"https://api.github.com/users/rishabh3112/orgs","repos_url":"https://api.github.com/users/rishabh3112/repos","events_url":"https://api.github.com/users/rishabh3112/events{/privacy}","received_events_url":"https://api.github.com/users/rishabh3112/received_events","type":"User","site_admin":false},"repo":{"id":140379898,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAzNzk4OTg=","name":"webpack-cli","full_name":"rishabh3112/webpack-cli","private":false,"owner":{"login":"rishabh3112","id":15812317,"node_id":"MDQ6VXNlcjE1ODEyMzE3","avatar_url":"https://avatars3.githubusercontent.com/u/15812317?v=4","gravatar_id":"","url":"https://api.github.com/users/rishabh3112","html_url":"https://github.com/rishabh3112","followers_url":"https://api.github.com/users/rishabh3112/followers","following_url":"https://api.github.com/users/rishabh3112/following{/other_user}","gists_url":"https://api.github.com/users/rishabh3112/gists{/gist_id}","starred_url":"https://api.github.com/users/rishabh3112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rishabh3112/subscriptions","organizations_url":"https://api.github.com/users/rishabh3112/orgs","repos_url":"https://api.github.com/users/rishabh3112/repos","events_url":"https://api.github.com/users/rishabh3112/events{/privacy}","received_events_url":"https://api.github.com/users/rishabh3112/received_events","type":"User","site_admin":false},"html_url":"https://github.com/rishabh3112/webpack-cli","description":"Webpack's Command Line Interface","fork":true,"url":"https://api.github.com/repos/rishabh3112/webpack-cli","forks_url":"https://api.github.com/repos/rishabh3112/webpack-cli/forks","keys_url":"https://api.github.com/repos/rishabh3112/webpack-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rishabh3112/webpack-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rishabh3112/webpack-cli/teams","hooks_url":"https://api.github.com/repos/rishabh3112/webpack-cli/hooks","issue_events_url":"https://api.github.com/repos/rishabh3112/webpack-cli/issues/events{/number}","events_url":"https://api.github.com/repos/rishabh3112/webpack-cli/events","assignees_url":"https://api.github.com/repos/rishabh3112/webpack-cli/assignees{/user}","branches_url":"https://api.github.com/repos/rishabh3112/webpack-cli/branches{/branch}","tags_url":"https://api.github.com/repos/rishabh3112/webpack-cli/tags","blobs_url":"https://api.github.com/repos/rishabh3112/webpack-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rishabh3112/webpack-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rishabh3112/webpack-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/rishabh3112/webpack-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rishabh3112/webpack-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/rishabh3112/webpack-cli/languages","stargazers_url":"https://api.github.com/repos/rishabh3112/webpack-cli/stargazers","contributors_url":"https://api.github.com/repos/rishabh3112/webpack-cli/contributors","subscribers_url":"https://api.github.com/repos/rishabh3112/webpack-cli/subscribers","subscription_url":"https://api.github.com/repos/rishabh3112/webpack-cli/subscription","commits_url":"https://api.github.com/repos/rishabh3112/webpack-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/rishabh3112/webpack-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/rishabh3112/webpack-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/rishabh3112/webpack-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/rishabh3112/webpack-cli/contents/{+path}","compare_url":"https://api.github.com/repos/rishabh3112/webpack-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rishabh3112/webpack-cli/merges","archive_url":"https://api.github.com/repos/rishabh3112/webpack-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rishabh3112/webpack-cli/downloads","issues_url":"https://api.github.com/repos/rishabh3112/webpack-cli/issues{/number}","pulls_url":"https://api.github.com/repos/rishabh3112/webpack-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/rishabh3112/webpack-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/rishabh3112/webpack-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rishabh3112/webpack-cli/labels{/name}","releases_url":"https://api.github.com/repos/rishabh3112/webpack-cli/releases{/id}","deployments_url":"https://api.github.com/repos/rishabh3112/webpack-cli/deployments","created_at":"2018-07-10T05:08:12Z","updated_at":"2018-10-18T09:26:30Z","pushed_at":"2019-01-02T04:40:40Z","git_url":"git://github.com/rishabh3112/webpack-cli.git","ssh_url":"git@github.com:rishabh3112/webpack-cli.git","clone_url":"https://github.com/rishabh3112/webpack-cli.git","svn_url":"https://github.com/rishabh3112/webpack-cli","homepage":"https://webpack.js.org/api/cli/","size":7664,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"webpack:webpack-cli-ui","ref":"webpack-cli-ui","sha":"995a9110340b0d99e29bf63596dfc3a2815cc8da","user":{"login":"webpack","id":2105791,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDU3OTE=","avatar_url":"https://avatars2.githubusercontent.com/u/2105791?v=4","gravatar_id":"","url":"https://api.github.com/users/webpack","html_url":"https://github.com/webpack","followers_url":"https://api.github.com/users/webpack/followers","following_url":"https://api.github.com/users/webpack/following{/other_user}","gists_url":"https://api.github.com/users/webpack/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack/subscriptions","organizations_url":"https://api.github.com/users/webpack/orgs","repos_url":"https://api.github.com/users/webpack/repos","events_url":"https://api.github.com/users/webpack/events{/privacy}","received_events_url":"https://api.github.com/users/webpack/received_events","type":"Organization","site_admin":false},"repo":{"id":76603199,"node_id":"MDEwOlJlcG9zaXRvcnk3NjYwMzE5OQ==","name":"webpack-cli","full_name":"webpack/webpack-cli","private":false,"owner":{"login":"webpack","id":2105791,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDU3OTE=","avatar_url":"https://avatars2.githubusercontent.com/u/2105791?v=4","gravatar_id":"","url":"https://api.github.com/users/webpack","html_url":"https://github.com/webpack","followers_url":"https://api.github.com/users/webpack/followers","following_url":"https://api.github.com/users/webpack/following{/other_user}","gists_url":"https://api.github.com/users/webpack/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack/subscriptions","organizations_url":"https://api.github.com/users/webpack/orgs","repos_url":"https://api.github.com/users/webpack/repos","events_url":"https://api.github.com/users/webpack/events{/privacy}","received_events_url":"https://api.github.com/users/webpack/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/webpack/webpack-cli","description":"Webpack's Command Line Interface","fork":false,"url":"https://api.github.com/repos/webpack/webpack-cli","forks_url":"https://api.github.com/repos/webpack/webpack-cli/forks","keys_url":"https://api.github.com/repos/webpack/webpack-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webpack/webpack-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webpack/webpack-cli/teams","hooks_url":"https://api.github.com/repos/webpack/webpack-cli/hooks","issue_events_url":"https://api.github.com/repos/webpack/webpack-cli/issues/events{/number}","events_url":"https://api.github.com/repos/webpack/webpack-cli/events","assignees_url":"https://api.github.com/repos/webpack/webpack-cli/assignees{/user}","branches_url":"https://api.github.com/repos/webpack/webpack-cli/branches{/branch}","tags_url":"https://api.github.com/repos/webpack/webpack-cli/tags","blobs_url":"https://api.github.com/repos/webpack/webpack-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webpack/webpack-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webpack/webpack-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/webpack/webpack-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webpack/webpack-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/webpack/webpack-cli/languages","stargazers_url":"https://api.github.com/repos/webpack/webpack-cli/stargazers","contributors_url":"https://api.github.com/repos/webpack/webpack-cli/contributors","subscribers_url":"https://api.github.com/repos/webpack/webpack-cli/subscribers","subscription_url":"https://api.github.com/repos/webpack/webpack-cli/subscription","commits_url":"https://api.github.com/repos/webpack/webpack-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/webpack/webpack-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/webpack/webpack-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/webpack/webpack-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/webpack/webpack-cli/contents/{+path}","compare_url":"https://api.github.com/repos/webpack/webpack-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webpack/webpack-cli/merges","archive_url":"https://api.github.com/repos/webpack/webpack-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webpack/webpack-cli/downloads","issues_url":"https://api.github.com/repos/webpack/webpack-cli/issues{/number}","pulls_url":"https://api.github.com/repos/webpack/webpack-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/webpack/webpack-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/webpack/webpack-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webpack/webpack-cli/labels{/name}","releases_url":"https://api.github.com/repos/webpack/webpack-cli/releases{/id}","deployments_url":"https://api.github.com/repos/webpack/webpack-cli/deployments","created_at":"2016-12-15T23:05:08Z","updated_at":"2019-01-01T10:09:07Z","pushed_at":"2019-01-02T06:12:17Z","git_url":"git://github.com/webpack/webpack-cli.git","ssh_url":"git@github.com:webpack/webpack-cli.git","clone_url":"https://github.com/webpack/webpack-cli.git","svn_url":"https://github.com/webpack/webpack-cli","homepage":"https://webpack.js.org/api/cli","size":8615,"stargazers_count":1219,"watchers_count":1219,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":188,"mirror_url":null,"archived":false,"open_issues_count":51,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":188,"open_issues":51,"watchers":1219,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/webpack/webpack-cli/pulls/700"},"html":{"href":"https://github.com/webpack/webpack-cli/pull/700"},"issue":{"href":"https://api.github.com/repos/webpack/webpack-cli/issues/700"},"comments":{"href":"https://api.github.com/repos/webpack/webpack-cli/issues/700/comments"},"review_comments":{"href":"https://api.github.com/repos/webpack/webpack-cli/pulls/700/comments"},"review_comment":{"href":"https://api.github.com/repos/webpack/webpack-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/webpack/webpack-cli/pulls/700/commits"},"statuses":{"href":"https://api.github.com/repos/webpack/webpack-cli/statuses/e0f9513ee4c9b90bd474fca2236275510887b357"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"rishabh3112"}}