{"action":"closed","issue":{"url":"https://api.github.com/repos/aspnet/Configuration/issues/747","repository_url":"https://api.github.com/repos/aspnet/Configuration","labels_url":"https://api.github.com/repos/aspnet/Configuration/issues/747/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Configuration/issues/747/comments","events_url":"https://api.github.com/repos/aspnet/Configuration/issues/747/events","html_url":"https://github.com/aspnet/Configuration/issues/747","id":269771822,"number":747,"title":"Aggressive throwing of exceptions in CommandLineArgs configuration","user":{"login":"glennc","id":234688,"avatar_url":"https://avatars3.githubusercontent.com/u/234688?v=4","gravatar_id":"","url":"https://api.github.com/users/glennc","html_url":"https://github.com/glennc","followers_url":"https://api.github.com/users/glennc/followers","following_url":"https://api.github.com/users/glennc/following{/other_user}","gists_url":"https://api.github.com/users/glennc/gists{/gist_id}","starred_url":"https://api.github.com/users/glennc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennc/subscriptions","organizations_url":"https://api.github.com/users/glennc/orgs","repos_url":"https://api.github.com/users/glennc/repos","events_url":"https://api.github.com/users/glennc/events{/privacy}","received_events_url":"https://api.github.com/users/glennc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-30T22:13:05Z","updated_at":"2018-02-15T22:07:59Z","closed_at":"2018-02-15T22:07:59Z","author_association":"MEMBER","body":"This PR adds the CommandLine config source to the default builder created by the templates: https://github.com/aspnet/MetaPackages/pull/241\r\n\r\nOne limitation that annoyed me when we did this is that you cannot pass a single switch to turn on a value. In my case I wanted to pass `-i` to mean interactive=true. But I couldn't find a way to make that work, and the config provider throws if it cannot parse the arguments. So I end up needing to process arguments before passing them to the config provider, stripping out anything it cannot handle.\r\n\r\nPerhaps a change to make the provider not throw if it can't handle an arg would be appropriate? I would be ok with a feature that let me map `-i` to `key=true` as well, but I could see that as a different feature request.\r\n\r\n"}}
{"actor":{"display_login":"mikeharder"}}