{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/corefxlab/issues/2233","repository_url":"https://api.github.com/repos/dotnet/corefxlab","labels_url":"https://api.github.com/repos/dotnet/corefxlab/issues/2233/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefxlab/issues/2233/comments","events_url":"https://api.github.com/repos/dotnet/corefxlab/issues/2233/events","html_url":"https://github.com/dotnet/corefxlab/issues/2233","id":318068001,"number":2233,"title":"CommandLine: How can I use global parameters？","user":{"login":"StarkShang","id":11701842,"avatar_url":"https://avatars1.githubusercontent.com/u/11701842?v=4","gravatar_id":"","url":"https://api.github.com/users/StarkShang","html_url":"https://github.com/StarkShang","followers_url":"https://api.github.com/users/StarkShang/followers","following_url":"https://api.github.com/users/StarkShang/following{/other_user}","gists_url":"https://api.github.com/users/StarkShang/gists{/gist_id}","starred_url":"https://api.github.com/users/StarkShang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StarkShang/subscriptions","organizations_url":"https://api.github.com/users/StarkShang/orgs","repos_url":"https://api.github.com/users/StarkShang/repos","events_url":"https://api.github.com/users/StarkShang/events{/privacy}","received_events_url":"https://api.github.com/users/StarkShang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-26T14:57:56Z","updated_at":"2018-04-26T14:57:56Z","closed_at":null,"author_association":"NONE","body":"Hi, guys.\r\nI want to parse arguments as the same way as dotnet/cli.\r\nAs a example, the following commands should all be right inputs.\r\n- `dotnet project.dll`\r\n  - the argument \"project.dll\" should be a parameter.\r\n- `dotnet build project.csproj`\r\n  - the argument \"build\" should be a command.\r\n  - the argument \"project\" should be a parameter for the subcommand \"build\".\r\n\r\nAs far as I know, **no option or parameter** can be defined before a command. #926 and #927 have talk about similar situation about options, and those are added to [Future](https://github.com/dotnet/corefxlab/milestone/3) milestone.  (Are these features finished?)\r\nIs there a elegant method to complete this task?"}}
{"actor":{"display_login":"StarkShang"}}