{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/core-docs/pulls/comments/60675457","id":60675457,"diff_hunk":"@@ -0,0 +1,44 @@\n+dotnet-new\n+==========\n+\n+## NAME\n+dotnet-new -- Create a new .NET Core project\n+\n+## SYNOPSIS\n+dotnet-new [--type] [--lang]\n+\n+## DESCRIPTION\n+The new command provides a convenient way to initalize a valid .NET Core project and sample source code to try out the CLI toolset. \n+\n+This command is invoked in the context of a directory. When invoked, the command will result in two main artifacts being dropped to the directory: \n+\n+1. A sample \"Hello World\" program that exists in `Program.cs` ( or `Program.fs` ) file.\n+2. A valid `project.json` file\n+\n+After this, the project is ready to be compiled and/or edited further. \n+\n+## Options\n+\n+`-l`, `--lang [C##|F##]`\n+\n+Language of project. Defaults to `C##`. Also `csharp` ( `fsharp` ) or `cs` ( `fs` ) works.","path":"docs/core-concepts/core-sdk/cli/dotnet-new.md","position":24,"original_position":24,"commit_id":"d2ce836c0c058ec534d235891e7eed97b9dc1854","original_commit_id":"d2ce836c0c058ec534d235891e7eed97b9dc1854","user":{"login":"mairaw","id":12971179,"avatar_url":"https://avatars.githubusercontent.com/u/12971179?v=3","gravatar_id":"","url":"https://api.github.com/users/mairaw","html_url":"https://github.com/mairaw","followers_url":"https://api.github.com/users/mairaw/followers","following_url":"https://api.github.com/users/mairaw/following{/other_user}","gists_url":"https://api.github.com/users/mairaw/gists{/gist_id}","starred_url":"https://api.github.com/users/mairaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mairaw/subscriptions","organizations_url":"https://api.github.com/users/mairaw/orgs","repos_url":"https://api.github.com/users/mairaw/repos","events_url":"https://api.github.com/users/mairaw/events{/privacy}","received_events_url":"https://api.github.com/users/mairaw/received_events","type":"User","site_admin":false},"body":"Also `csharp` ( `fsharp` ) or `cs` ( `fs` ) works. -> `csharp` ( `fsharp` ) and `cs` ( `fs` ) are also valid language options.","created_at":"2016-04-22T00:20:16Z","updated_at":"2016-04-22T00:20:16Z","html_url":"https://github.com/dotnet/core-docs/pull/391#discussion_r60675457","pull_request_url":"https://api.github.com/repos/dotnet/core-docs/pulls/391","_links":{"self":{"href":"https://api.github.com/repos/dotnet/core-docs/pulls/comments/60675457"},"html":{"href":"https://github.com/dotnet/core-docs/pull/391#discussion_r60675457"},"pull_request":{"href":"https://api.github.com/repos/dotnet/core-docs/pulls/391"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/core-docs/pulls/391","id":64821312,"html_url":"https://github.com/dotnet/core-docs/pull/391","diff_url":"https://github.com/dotnet/core-docs/pull/391.diff","patch_url":"https://github.com/dotnet/core-docs/pull/391.patch","issue_url":"https://api.github.com/repos/dotnet/core-docs/issues/391","number":391,"state":"open","locked":false,"title":"Add CLI documentation","user":{"login":"blackdwarf","id":3115004,"avatar_url":"https://avatars.githubusercontent.com/u/3115004?v=3","gravatar_id":"","url":"https://api.github.com/users/blackdwarf","html_url":"https://github.com/blackdwarf","followers_url":"https://api.github.com/users/blackdwarf/followers","following_url":"https://api.github.com/users/blackdwarf/following{/other_user}","gists_url":"https://api.github.com/users/blackdwarf/gists{/gist_id}","starred_url":"https://api.github.com/users/blackdwarf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackdwarf/subscriptions","organizations_url":"https://api.github.com/users/blackdwarf/orgs","repos_url":"https://api.github.com/users/blackdwarf/repos","events_url":"https://api.github.com/users/blackdwarf/events{/privacy}","received_events_url":"https://api.github.com/users/blackdwarf/received_events","type":"User","site_admin":false},"body":"Added documentation for the CLI. It contains two main groups of\r\ndocuments:\r\n\r\n1. Conceptual docs - docs that deal with how the CLI works, what the\r\nare the portability types of applications and the overview.\r\n2. Reference docs - command line reference docs for each command as\r\nwell as the install script.\r\n\r\nAnother document is the DNX -> CLI migration document that is part of\r\nthis change.\r\n\r\nFixes #391 \r\nRelates to #322 \r\n\r\n/cc @mairaw @danroth27 @cartermp @richlander ","created_at":"2016-03-31T16:41:59Z","updated_at":"2016-04-22T00:20:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a6ba2610d5bdbeef667881b82f9ed92b8c8f5e9a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/core-docs/pulls/391/commits","review_comments_url":"https://api.github.com/repos/dotnet/core-docs/pulls/391/comments","review_comment_url":"https://api.github.com/repos/dotnet/core-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/core-docs/issues/391/comments","statuses_url":"https://api.github.com/repos/dotnet/core-docs/statuses/d2ce836c0c058ec534d235891e7eed97b9dc1854","head":{"label":"blackdwarf:clidocs","ref":"clidocs","sha":"d2ce836c0c058ec534d235891e7eed97b9dc1854","user":{"login":"blackdwarf","id":3115004,"avatar_url":"https://avatars.githubusercontent.com/u/3115004?v=3","gravatar_id":"","url":"https://api.github.com/users/blackdwarf","html_url":"https://github.com/blackdwarf","followers_url":"https://api.github.com/users/blackdwarf/followers","following_url":"https://api.github.com/users/blackdwarf/following{/other_user}","gists_url":"https://api.github.com/users/blackdwarf/gists{/gist_id}","starred_url":"https://api.github.com/users/blackdwarf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackdwarf/subscriptions","organizations_url":"https://api.github.com/users/blackdwarf/orgs","repos_url":"https://api.github.com/users/blackdwarf/repos","events_url":"https://api.github.com/users/blackdwarf/events{/privacy}","received_events_url":"https://api.github.com/users/blackdwarf/received_events","type":"User","site_admin":false},"repo":{"id":35895436,"name":"core-docs","full_name":"blackdwarf/core-docs","owner":{"login":"blackdwarf","id":3115004,"avatar_url":"https://avatars.githubusercontent.com/u/3115004?v=3","gravatar_id":"","url":"https://api.github.com/users/blackdwarf","html_url":"https://github.com/blackdwarf","followers_url":"https://api.github.com/users/blackdwarf/followers","following_url":"https://api.github.com/users/blackdwarf/following{/other_user}","gists_url":"https://api.github.com/users/blackdwarf/gists{/gist_id}","starred_url":"https://api.github.com/users/blackdwarf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackdwarf/subscriptions","organizations_url":"https://api.github.com/users/blackdwarf/orgs","repos_url":"https://api.github.com/users/blackdwarf/repos","events_url":"https://api.github.com/users/blackdwarf/events{/privacy}","received_events_url":"https://api.github.com/users/blackdwarf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/blackdwarf/core-docs","description":"Experimenting with docs.","fork":true,"url":"https://api.github.com/repos/blackdwarf/core-docs","forks_url":"https://api.github.com/repos/blackdwarf/core-docs/forks","keys_url":"https://api.github.com/repos/blackdwarf/core-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blackdwarf/core-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blackdwarf/core-docs/teams","hooks_url":"https://api.github.com/repos/blackdwarf/core-docs/hooks","issue_events_url":"https://api.github.com/repos/blackdwarf/core-docs/issues/events{/number}","events_url":"https://api.github.com/repos/blackdwarf/core-docs/events","assignees_url":"https://api.github.com/repos/blackdwarf/core-docs/assignees{/user}","branches_url":"https://api.github.com/repos/blackdwarf/core-docs/branches{/branch}","tags_url":"https://api.github.com/repos/blackdwarf/core-docs/tags","blobs_url":"https://api.github.com/repos/blackdwarf/core-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blackdwarf/core-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blackdwarf/core-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/blackdwarf/core-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blackdwarf/core-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/blackdwarf/core-docs/languages","stargazers_url":"https://api.github.com/repos/blackdwarf/core-docs/stargazers","contributors_url":"https://api.github.com/repos/blackdwarf/core-docs/contributors","subscribers_url":"https://api.github.com/repos/blackdwarf/core-docs/subscribers","subscription_url":"https://api.github.com/repos/blackdwarf/core-docs/subscription","commits_url":"https://api.github.com/repos/blackdwarf/core-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/blackdwarf/core-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/blackdwarf/core-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/blackdwarf/core-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/blackdwarf/core-docs/contents/{+path}","compare_url":"https://api.github.com/repos/blackdwarf/core-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blackdwarf/core-docs/merges","archive_url":"https://api.github.com/repos/blackdwarf/core-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blackdwarf/core-docs/downloads","issues_url":"https://api.github.com/repos/blackdwarf/core-docs/issues{/number}","pulls_url":"https://api.github.com/repos/blackdwarf/core-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/blackdwarf/core-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/blackdwarf/core-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blackdwarf/core-docs/labels{/name}","releases_url":"https://api.github.com/repos/blackdwarf/core-docs/releases{/id}","deployments_url":"https://api.github.com/repos/blackdwarf/core-docs/deployments","created_at":"2015-05-19T16:47:30Z","updated_at":"2016-01-11T18:26:56Z","pushed_at":"2016-04-21T15:24:42Z","git_url":"git://github.com/blackdwarf/core-docs.git","ssh_url":"git@github.com:blackdwarf/core-docs.git","clone_url":"https://github.com/blackdwarf/core-docs.git","svn_url":"https://github.com/blackdwarf/core-docs","homepage":null,"size":10387,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"157504029d8a6742a4882e57e1e0ab9220d00894","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":35890081,"name":"core-docs","full_name":"dotnet/core-docs","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/core-docs","description":".NET Core documentation (work in progress).","fork":false,"url":"https://api.github.com/repos/dotnet/core-docs","forks_url":"https://api.github.com/repos/dotnet/core-docs/forks","keys_url":"https://api.github.com/repos/dotnet/core-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/core-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/core-docs/teams","hooks_url":"https://api.github.com/repos/dotnet/core-docs/hooks","issue_events_url":"https://api.github.com/repos/dotnet/core-docs/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/core-docs/events","assignees_url":"https://api.github.com/repos/dotnet/core-docs/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/core-docs/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/core-docs/tags","blobs_url":"https://api.github.com/repos/dotnet/core-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/core-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/core-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/core-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/core-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/core-docs/languages","stargazers_url":"https://api.github.com/repos/dotnet/core-docs/stargazers","contributors_url":"https://api.github.com/repos/dotnet/core-docs/contributors","subscribers_url":"https://api.github.com/repos/dotnet/core-docs/subscribers","subscription_url":"https://api.github.com/repos/dotnet/core-docs/subscription","commits_url":"https://api.github.com/repos/dotnet/core-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/core-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/core-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/core-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/core-docs/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/core-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/core-docs/merges","archive_url":"https://api.github.com/repos/dotnet/core-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/core-docs/downloads","issues_url":"https://api.github.com/repos/dotnet/core-docs/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/core-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/core-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/core-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/core-docs/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/core-docs/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/core-docs/deployments","created_at":"2015-05-19T15:13:32Z","updated_at":"2016-04-16T18:20:10Z","pushed_at":"2016-04-21T20:05:18Z","git_url":"git://github.com/dotnet/core-docs.git","ssh_url":"git@github.com:dotnet/core-docs.git","clone_url":"https://github.com/dotnet/core-docs.git","svn_url":"https://github.com/dotnet/core-docs","homepage":"http://dotnet.github.io/docs/index.html","size":14295,"stargazers_count":74,"watchers_count":74,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":127,"forks":83,"open_issues":127,"watchers":74,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/core-docs/pulls/391"},"html":{"href":"https://github.com/dotnet/core-docs/pull/391"},"issue":{"href":"https://api.github.com/repos/dotnet/core-docs/issues/391"},"comments":{"href":"https://api.github.com/repos/dotnet/core-docs/issues/391/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/core-docs/pulls/391/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/core-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/core-docs/pulls/391/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/core-docs/statuses/d2ce836c0c058ec534d235891e7eed97b9dc1854"}}}}