{"action":"closed","number":1574,"pull_request":{"url":"https://api.github.com/repos/zeit/now-cli/pulls/1574","id":214429476,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NDI5NDc2","html_url":"https://github.com/zeit/now-cli/pull/1574","diff_url":"https://github.com/zeit/now-cli/pull/1574.diff","patch_url":"https://github.com/zeit/now-cli/pull/1574.patch","issue_url":"https://api.github.com/repos/zeit/now-cli/issues/1574","number":1574,"state":"closed","locked":false,"title":"Add `now init` command","user":{"login":"TooTallNate","id":71256,"node_id":"MDQ6VXNlcjcxMjU2","avatar_url":"https://avatars3.githubusercontent.com/u/71256?v=4","gravatar_id":"","url":"https://api.github.com/users/TooTallNate","html_url":"https://github.com/TooTallNate","followers_url":"https://api.github.com/users/TooTallNate/followers","following_url":"https://api.github.com/users/TooTallNate/following{/other_user}","gists_url":"https://api.github.com/users/TooTallNate/gists{/gist_id}","starred_url":"https://api.github.com/users/TooTallNate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TooTallNate/subscriptions","organizations_url":"https://api.github.com/users/TooTallNate/orgs","repos_url":"https://api.github.com/users/TooTallNate/repos","events_url":"https://api.github.com/users/TooTallNate/events{/privacy}","received_events_url":"https://api.github.com/users/TooTallNate/received_events","type":"User","site_admin":false},"body":"This command inspects a directory, and uses various heuristics\nto determine the \"project type\" as well as generated an ideal\ninitial Dockerfile to use for the detected project type.\n\nA `now.json` file is also created to set the proper \"type\"\n(`docker` or `static`), as well as enable Cloud v2.\n\nAt the moment, only Node.js projects are supported, but the\n`@zeit/init` module will be improved to support many project types,\nincluding static site generators i.e. `next export`.","created_at":"2018-09-10T20:10:48Z","updated_at":"2018-10-05T16:06:14Z","closed_at":"2018-10-05T16:06:14Z","merged_at":null,"merge_commit_sha":"f8b930b4a04b93e298944200b4e5ff0f3c2f9460","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":694788776,"node_id":"MDU6TGFiZWw2OTQ3ODg3NzY=","url":"https://api.github.com/repos/zeit/now-cli/labels/work%20in%20progress","name":"work in progress","color":"ac22cc","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/zeit/now-cli/pulls/1574/commits","review_comments_url":"https://api.github.com/repos/zeit/now-cli/pulls/1574/comments","review_comment_url":"https://api.github.com/repos/zeit/now-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zeit/now-cli/issues/1574/comments","statuses_url":"https://api.github.com/repos/zeit/now-cli/statuses/c0803ef6a4bd3103686f876180e103c79d5064cb","head":{"label":"zeit:add/now-init","ref":"add/now-init","sha":"c0803ef6a4bd3103686f876180e103c79d5064cb","user":{"login":"zeit","id":14985020,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTg1MDIw","avatar_url":"https://avatars0.githubusercontent.com/u/14985020?v=4","gravatar_id":"","url":"https://api.github.com/users/zeit","html_url":"https://github.com/zeit","followers_url":"https://api.github.com/users/zeit/followers","following_url":"https://api.github.com/users/zeit/following{/other_user}","gists_url":"https://api.github.com/users/zeit/gists{/gist_id}","starred_url":"https://api.github.com/users/zeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeit/subscriptions","organizations_url":"https://api.github.com/users/zeit/orgs","repos_url":"https://api.github.com/users/zeit/repos","events_url":"https://api.github.com/users/zeit/events{/privacy}","received_events_url":"https://api.github.com/users/zeit/received_events","type":"Organization","site_admin":false},"repo":{"id":67753070,"node_id":"MDEwOlJlcG9zaXRvcnk2Nzc1MzA3MA==","name":"now-cli","full_name":"zeit/now-cli","private":false,"owner":{"login":"zeit","id":14985020,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTg1MDIw","avatar_url":"https://avatars0.githubusercontent.com/u/14985020?v=4","gravatar_id":"","url":"https://api.github.com/users/zeit","html_url":"https://github.com/zeit","followers_url":"https://api.github.com/users/zeit/followers","following_url":"https://api.github.com/users/zeit/following{/other_user}","gists_url":"https://api.github.com/users/zeit/gists{/gist_id}","starred_url":"https://api.github.com/users/zeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeit/subscriptions","organizations_url":"https://api.github.com/users/zeit/orgs","repos_url":"https://api.github.com/users/zeit/repos","events_url":"https://api.github.com/users/zeit/events{/privacy}","received_events_url":"https://api.github.com/users/zeit/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/zeit/now-cli","description":"The command-line interface for Now","fork":false,"url":"https://api.github.com/repos/zeit/now-cli","forks_url":"https://api.github.com/repos/zeit/now-cli/forks","keys_url":"https://api.github.com/repos/zeit/now-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeit/now-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeit/now-cli/teams","hooks_url":"https://api.github.com/repos/zeit/now-cli/hooks","issue_events_url":"https://api.github.com/repos/zeit/now-cli/issues/events{/number}","events_url":"https://api.github.com/repos/zeit/now-cli/events","assignees_url":"https://api.github.com/repos/zeit/now-cli/assignees{/user}","branches_url":"https://api.github.com/repos/zeit/now-cli/branches{/branch}","tags_url":"https://api.github.com/repos/zeit/now-cli/tags","blobs_url":"https://api.github.com/repos/zeit/now-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeit/now-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeit/now-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeit/now-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeit/now-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/zeit/now-cli/languages","stargazers_url":"https://api.github.com/repos/zeit/now-cli/stargazers","contributors_url":"https://api.github.com/repos/zeit/now-cli/contributors","subscribers_url":"https://api.github.com/repos/zeit/now-cli/subscribers","subscription_url":"https://api.github.com/repos/zeit/now-cli/subscription","commits_url":"https://api.github.com/repos/zeit/now-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeit/now-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeit/now-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeit/now-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeit/now-cli/contents/{+path}","compare_url":"https://api.github.com/repos/zeit/now-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeit/now-cli/merges","archive_url":"https://api.github.com/repos/zeit/now-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeit/now-cli/downloads","issues_url":"https://api.github.com/repos/zeit/now-cli/issues{/number}","pulls_url":"https://api.github.com/repos/zeit/now-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/zeit/now-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/zeit/now-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeit/now-cli/labels{/name}","releases_url":"https://api.github.com/repos/zeit/now-cli/releases{/id}","deployments_url":"https://api.github.com/repos/zeit/now-cli/deployments","created_at":"2016-09-09T01:12:08Z","updated_at":"2018-10-05T08:13:54Z","pushed_at":"2018-10-03T19:19:23Z","git_url":"git://github.com/zeit/now-cli.git","ssh_url":"git@github.com:zeit/now-cli.git","clone_url":"https://github.com/zeit/now-cli.git","svn_url":"https://github.com/zeit/now-cli","homepage":"https://zeit.co/now","size":4066,"stargazers_count":2461,"watchers_count":2461,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":257,"mirror_url":null,"archived":false,"open_issues_count":303,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":257,"open_issues":303,"watchers":2461,"default_branch":"canary"}},"base":{"label":"zeit:canary","ref":"canary","sha":"ae8cbdce0a107b7bdddd9d3a03a63e29f2057141","user":{"login":"zeit","id":14985020,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTg1MDIw","avatar_url":"https://avatars0.githubusercontent.com/u/14985020?v=4","gravatar_id":"","url":"https://api.github.com/users/zeit","html_url":"https://github.com/zeit","followers_url":"https://api.github.com/users/zeit/followers","following_url":"https://api.github.com/users/zeit/following{/other_user}","gists_url":"https://api.github.com/users/zeit/gists{/gist_id}","starred_url":"https://api.github.com/users/zeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeit/subscriptions","organizations_url":"https://api.github.com/users/zeit/orgs","repos_url":"https://api.github.com/users/zeit/repos","events_url":"https://api.github.com/users/zeit/events{/privacy}","received_events_url":"https://api.github.com/users/zeit/received_events","type":"Organization","site_admin":false},"repo":{"id":67753070,"node_id":"MDEwOlJlcG9zaXRvcnk2Nzc1MzA3MA==","name":"now-cli","full_name":"zeit/now-cli","private":false,"owner":{"login":"zeit","id":14985020,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0OTg1MDIw","avatar_url":"https://avatars0.githubusercontent.com/u/14985020?v=4","gravatar_id":"","url":"https://api.github.com/users/zeit","html_url":"https://github.com/zeit","followers_url":"https://api.github.com/users/zeit/followers","following_url":"https://api.github.com/users/zeit/following{/other_user}","gists_url":"https://api.github.com/users/zeit/gists{/gist_id}","starred_url":"https://api.github.com/users/zeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeit/subscriptions","organizations_url":"https://api.github.com/users/zeit/orgs","repos_url":"https://api.github.com/users/zeit/repos","events_url":"https://api.github.com/users/zeit/events{/privacy}","received_events_url":"https://api.github.com/users/zeit/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/zeit/now-cli","description":"The command-line interface for Now","fork":false,"url":"https://api.github.com/repos/zeit/now-cli","forks_url":"https://api.github.com/repos/zeit/now-cli/forks","keys_url":"https://api.github.com/repos/zeit/now-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeit/now-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeit/now-cli/teams","hooks_url":"https://api.github.com/repos/zeit/now-cli/hooks","issue_events_url":"https://api.github.com/repos/zeit/now-cli/issues/events{/number}","events_url":"https://api.github.com/repos/zeit/now-cli/events","assignees_url":"https://api.github.com/repos/zeit/now-cli/assignees{/user}","branches_url":"https://api.github.com/repos/zeit/now-cli/branches{/branch}","tags_url":"https://api.github.com/repos/zeit/now-cli/tags","blobs_url":"https://api.github.com/repos/zeit/now-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeit/now-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeit/now-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeit/now-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeit/now-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/zeit/now-cli/languages","stargazers_url":"https://api.github.com/repos/zeit/now-cli/stargazers","contributors_url":"https://api.github.com/repos/zeit/now-cli/contributors","subscribers_url":"https://api.github.com/repos/zeit/now-cli/subscribers","subscription_url":"https://api.github.com/repos/zeit/now-cli/subscription","commits_url":"https://api.github.com/repos/zeit/now-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeit/now-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeit/now-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeit/now-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeit/now-cli/contents/{+path}","compare_url":"https://api.github.com/repos/zeit/now-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeit/now-cli/merges","archive_url":"https://api.github.com/repos/zeit/now-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeit/now-cli/downloads","issues_url":"https://api.github.com/repos/zeit/now-cli/issues{/number}","pulls_url":"https://api.github.com/repos/zeit/now-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/zeit/now-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/zeit/now-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeit/now-cli/labels{/name}","releases_url":"https://api.github.com/repos/zeit/now-cli/releases{/id}","deployments_url":"https://api.github.com/repos/zeit/now-cli/deployments","created_at":"2016-09-09T01:12:08Z","updated_at":"2018-10-05T08:13:54Z","pushed_at":"2018-10-03T19:19:23Z","git_url":"git://github.com/zeit/now-cli.git","ssh_url":"git@github.com:zeit/now-cli.git","clone_url":"https://github.com/zeit/now-cli.git","svn_url":"https://github.com/zeit/now-cli","homepage":"https://zeit.co/now","size":4066,"stargazers_count":2461,"watchers_count":2461,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":257,"mirror_url":null,"archived":false,"open_issues_count":303,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":257,"open_issues":303,"watchers":2461,"default_branch":"canary"}},"_links":{"self":{"href":"https://api.github.com/repos/zeit/now-cli/pulls/1574"},"html":{"href":"https://github.com/zeit/now-cli/pull/1574"},"issue":{"href":"https://api.github.com/repos/zeit/now-cli/issues/1574"},"comments":{"href":"https://api.github.com/repos/zeit/now-cli/issues/1574/comments"},"review_comments":{"href":"https://api.github.com/repos/zeit/now-cli/pulls/1574/comments"},"review_comment":{"href":"https://api.github.com/repos/zeit/now-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zeit/now-cli/pulls/1574/commits"},"statuses":{"href":"https://api.github.com/repos/zeit/now-cli/statuses/c0803ef6a4bd3103686f876180e103c79d5064cb"}},"author_association":"MEMBER","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":253,"deletions":16,"changed_files":5}}
{"actor":{"display_login":"leo"}}