{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/cli/issues/7715","repository_url":"https://api.github.com/repos/dotnet/cli","labels_url":"https://api.github.com/repos/dotnet/cli/issues/7715/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/cli/issues/7715/comments","events_url":"https://api.github.com/repos/dotnet/cli/issues/7715/events","html_url":"https://github.com/dotnet/cli/issues/7715","id":260970396,"node_id":"MDU6SXNzdWUyNjA5NzAzOTY=","number":7715,"title":"Implicit restore for cli tools","user":{"login":"forki","id":57396,"node_id":"MDQ6VXNlcjU3Mzk2","avatar_url":"https://avatars1.githubusercontent.com/u/57396?v=4","gravatar_id":"","url":"https://api.github.com/users/forki","html_url":"https://github.com/forki","followers_url":"https://api.github.com/users/forki/followers","following_url":"https://api.github.com/users/forki/following{/other_user}","gists_url":"https://api.github.com/users/forki/gists{/gist_id}","starred_url":"https://api.github.com/users/forki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forki/subscriptions","organizations_url":"https://api.github.com/users/forki/orgs","repos_url":"https://api.github.com/users/forki/repos","events_url":"https://api.github.com/users/forki/events{/privacy}","received_events_url":"https://api.github.com/users/forki/received_events","type":"User","site_admin":false},"labels":[{"id":268110644,"node_id":"MDU6TGFiZWwyNjgxMTA2NDQ=","url":"https://api.github.com/repos/dotnet/cli/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/cli/milestones/21","html_url":"https://github.com/dotnet/cli/milestone/21","labels_url":"https://api.github.com/repos/dotnet/cli/milestones/21/labels","id":3271800,"node_id":"MDk6TWlsZXN0b25lMzI3MTgwMA==","number":21,"title":"2.2.1xx","description":"","creator":{"login":"livarcocc","id":367554,"node_id":"MDQ6VXNlcjM2NzU1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/367554?v=4","gravatar_id":"","url":"https://api.github.com/users/livarcocc","html_url":"https://github.com/livarcocc","followers_url":"https://api.github.com/users/livarcocc/followers","following_url":"https://api.github.com/users/livarcocc/following{/other_user}","gists_url":"https://api.github.com/users/livarcocc/gists{/gist_id}","starred_url":"https://api.github.com/users/livarcocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livarcocc/subscriptions","organizations_url":"https://api.github.com/users/livarcocc/orgs","repos_url":"https://api.github.com/users/livarcocc/repos","events_url":"https://api.github.com/users/livarcocc/events{/privacy}","received_events_url":"https://api.github.com/users/livarcocc/received_events","type":"User","site_admin":false},"open_issues":42,"closed_issues":62,"state":"open","created_at":"2018-04-16T19:04:51Z","updated_at":"2018-08-29T15:54:04Z","due_on":null,"closed_at":null},"comments":18,"created_at":"2017-09-27T13:17:16Z","updated_at":"2018-08-29T19:49:02Z","closed_at":"2018-08-29T00:38:23Z","author_association":"NONE","body":"`dotnet build` now has implicit restore and it's considered a good thing.\r\n\r\nUnfortunately we don't have it for cli tools.\r\n\r\nConsider commands like: `dotnet fable webpack-dev-server` (see https://github.com/SAFE-Stack/SAFE-BookStore/blob/master/build.fsx#L212)\r\n\r\nThey just fail with something along the lines \"Can't find command \"dotnet-fable\" not found\"\r\n\r\n![image](https://user-images.githubusercontent.com/57396/30915382-f0ac4266-a396-11e7-8f98-248e6269de92.png)\r\n\r\nIt would make things so much easier if cli would restore in that case and rerun.\r\n\r\n## Environment data\r\n`dotnet --info` output : 2.0.0\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/cli/issues/comments/417082227","html_url":"https://github.com/dotnet/cli/issues/7715#issuecomment-417082227","issue_url":"https://api.github.com/repos/dotnet/cli/issues/7715","id":417082227,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzA4MjIyNw==","user":{"login":"KathleenDollard","id":5844318,"node_id":"MDQ6VXNlcjU4NDQzMTg=","avatar_url":"https://avatars2.githubusercontent.com/u/5844318?v=4","gravatar_id":"","url":"https://api.github.com/users/KathleenDollard","html_url":"https://github.com/KathleenDollard","followers_url":"https://api.github.com/users/KathleenDollard/followers","following_url":"https://api.github.com/users/KathleenDollard/following{/other_user}","gists_url":"https://api.github.com/users/KathleenDollard/gists{/gist_id}","starred_url":"https://api.github.com/users/KathleenDollard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KathleenDollard/subscriptions","organizations_url":"https://api.github.com/users/KathleenDollard/orgs","repos_url":"https://api.github.com/users/KathleenDollard/repos","events_url":"https://api.github.com/users/KathleenDollard/events{/privacy}","received_events_url":"https://api.github.com/users/KathleenDollard/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T19:49:02Z","updated_at":"2018-08-29T19:49:02Z","author_association":"NONE","body":"@forki and @alfonsogarciacaro you said \"specifying the tool version in each project\". Did you mean (more or less) each repo or solution? \r\n\r\nLocal/repo tools (we'll call them local tools in the future) will be relative to where you are running the command. For builds, this should be straightforward and will follow how we find other files. We anticipate this solving both the problem of different versions for different repos, and making it easy to clone, tool restore, do work. \r\n\r\nLocal tools will be like global tools in that they are just console applications - and thus they run in their own process space and their own version of the .NET Core Runtime. The addition for local tools is how they are declared and stored. Thus, no more prefercliruntime!!\r\n\r\nI'm sorry we are behind on docs - both for global tools and our local tool design. A simple version of creating a global tool should go into docs quite soon. That article is not intended to cover all the side cases, so we still need to write that article. \r\n\r\nThere's a bit more information about our local tool direction here: https://github.com/dotnet/cli/issues/9782#issuecomment-410033494\r\nhttps://github.com/dotnet/cli/issues/9782#issuecomment-410033494\r\n"}}
{"actor":{"display_login":"KathleenDollard"}}