{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/2666","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/2666/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/2666/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/2666/events","html_url":"https://github.com/dotnet/cli/issues/2666","id":150590917,"number":2666,"title":"What C# support is there going to be when adding custom commands to \"dotnet\"","user":{"login":"jchannon","id":105126,"avatar_url":"https://avatars.githubusercontent.com/u/105126?v=3","gravatar_id":"","url":"https://api.github.com/users/jchannon","html_url":"https://github.com/jchannon","followers_url":"https://api.github.com/users/jchannon/followers","following_url":"https://api.github.com/users/jchannon/following{/other_user}","gists_url":"https://api.github.com/users/jchannon/gists{/gist_id}","starred_url":"https://api.github.com/users/jchannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jchannon/subscriptions","organizations_url":"https://api.github.com/users/jchannon/orgs","repos_url":"https://api.github.com/users/jchannon/repos","events_url":"https://api.github.com/users/jchannon/events{/privacy}","received_events_url":"https://api.github.com/users/jchannon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/cli/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/3","html_url":"https://github.com/dotnet/cli/milestones/1.0.0-rc2","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/3/labels","id":1343748,"number":3,"title":"1.0.0-rc2","description":"","creator":{"login":"Sridhar-MS","id":9423246,"avatar_url":"https://avatars.githubusercontent.com/u/9423246?v=3","gravatar_id":"","url":"https://api.github.com/users/Sridhar-MS","html_url":"https://github.com/Sridhar-MS","followers_url":"https://api.github.com/users/Sridhar-MS/followers","following_url":"https://api.github.com/users/Sridhar-MS/following{/other_user}","gists_url":"https://api.github.com/users/Sridhar-MS/gists{/gist_id}","starred_url":"https://api.github.com/users/Sridhar-MS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sridhar-MS/subscriptions","organizations_url":"https://api.github.com/users/Sridhar-MS/orgs","repos_url":"https://api.github.com/users/Sridhar-MS/repos","events_url":"https://api.github.com/users/Sridhar-MS/events{/privacy}","received_events_url":"https://api.github.com/users/Sridhar-MS/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":234,"state":"open","created_at":"2015-10-08T01:23:25Z","updated_at":"2016-04-25T04:51:57Z","due_on":"2016-04-29T07:00:00Z","closed_at":null},"comments":5,"created_at":"2016-04-23T19:53:47Z","updated_at":"2016-04-25T06:21:54Z","closed_at":"2016-04-24T08:51:28Z","body":"## Steps to reproduce\r\nCreate a executable script as highlighted here https://github.com/dotnet/cli/blob/rel/1.0.0/Documentation/intro-to-cli.md but with csharp code `Console.WriteLine(\"Hello\");`\r\n\r\n## Expected  behavior\r\nWhen executing `dotnet hello` I expect to see output in the terminal\r\n\r\n## Actual behavior\r\nCommand is executed but no output\r\n\r\n## Environment data\r\n`dotnet --info` output:\r\n\r\n```\r\n.NET Command Line Tools (1.0.0-rc2-002339)\r\n\r\nProduct Information:\r\n Version:     1.0.0-rc2-002339\r\n Commit Sha:  2be5e84f87\r\n\r\nRuntime Environment:\r\n OS Name:     Mac OS X\r\n OS Version:  10.11\r\n OS Platform: Darwin\r\n RID:         osx.10.11-x64\r\n```"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/214156227","html_url":"https://github.com/dotnet/cli/issues/2666#issuecomment-214156227","issue_url":"https://api.github.com/repos/dotnet/cli/issues/2666","id":214156227,"user":{"login":"piotrpMSFT","id":2379589,"avatar_url":"https://avatars.githubusercontent.com/u/2379589?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrpMSFT","html_url":"https://github.com/piotrpMSFT","followers_url":"https://api.github.com/users/piotrpMSFT/followers","following_url":"https://api.github.com/users/piotrpMSFT/following{/other_user}","gists_url":"https://api.github.com/users/piotrpMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrpMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrpMSFT/subscriptions","organizations_url":"https://api.github.com/users/piotrpMSFT/orgs","repos_url":"https://api.github.com/users/piotrpMSFT/repos","events_url":"https://api.github.com/users/piotrpMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/piotrpMSFT/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T06:21:54Z","updated_at":"2016-04-25T06:21:54Z","body":"Yes absolutely. I think the script example may be a bit misleading. If your tool is a console application whose name starts with 'dotnet-' then it will work like the script. You can even 'dotnet-pack' that application and reference it from the 'tools'section of project.json to use it from other projects. It will get downloaded and installed by 'dotnet restore'!"}}