{"action":"created","comment":{"url":"https://api.github.com/repos/fsprojects/Argu/pulls/comments/70188960","id":70188960,"diff_hunk":"@@ -68,4 +70,14 @@ type ConfigurationReader =\n \n     /// Create a configuration reader instance using an F# function\n     static member FromFunction(reader : string -> string option, ?name : string) =\n-        new FunctionConfigurationReader(reader, ?name = name) :> IConfigurationReader\n\\ No newline at end of file\n+        new FunctionConfigurationReader(reader, ?name = name) :> IConfigurationReader\n+        \n+    static member DefaultReader () = ConfigurationReader.FromAppSettings()\n+#else\n+/// Configuration reader implementations\n+type ConfigurationReader =\n+    static member DefaultReader () =\n+        { new IConfigurationReader with\n+            member x.Name = \"Default - Empty Configuration Reader\"\n+            member x.GetValue k = null }","path":"src/Argu/ConfigReaders.fs","position":24,"original_position":24,"commit_id":"9b8ebc14d3acb2a94882d024b6de2e0db801a25f","original_commit_id":"9b8ebc14d3acb2a94882d024b6de2e0db801a25f","user":{"login":"eiriktsarpalis","id":2813363,"avatar_url":"https://avatars.githubusercontent.com/u/2813363?v=3","gravatar_id":"","url":"https://api.github.com/users/eiriktsarpalis","html_url":"https://github.com/eiriktsarpalis","followers_url":"https://api.github.com/users/eiriktsarpalis/followers","following_url":"https://api.github.com/users/eiriktsarpalis/following{/other_user}","gists_url":"https://api.github.com/users/eiriktsarpalis/gists{/gist_id}","starred_url":"https://api.github.com/users/eiriktsarpalis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eiriktsarpalis/subscriptions","organizations_url":"https://api.github.com/users/eiriktsarpalis/orgs","repos_url":"https://api.github.com/users/eiriktsarpalis/repos","events_url":"https://api.github.com/users/eiriktsarpalis/events{/privacy}","received_events_url":"https://api.github.com/users/eiriktsarpalis/received_events","type":"User","site_admin":false},"body":"I'd rather this failed with a NotSupportedException","created_at":"2016-07-10T21:55:22Z","updated_at":"2016-07-10T21:55:22Z","html_url":"https://github.com/fsprojects/Argu/pull/57#discussion_r70188960","pull_request_url":"https://api.github.com/repos/fsprojects/Argu/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/fsprojects/Argu/pulls/comments/70188960"},"html":{"href":"https://github.com/fsprojects/Argu/pull/57#discussion_r70188960"},"pull_request":{"href":"https://api.github.com/repos/fsprojects/Argu/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/fsprojects/Argu/pulls/57","id":76046249,"html_url":"https://github.com/fsprojects/Argu/pull/57","diff_url":"https://github.com/fsprojects/Argu/pull/57.diff","patch_url":"https://github.com/fsprojects/Argu/pull/57.patch","issue_url":"https://api.github.com/repos/fsprojects/Argu/issues/57","number":57,"state":"open","locked":false,"title":"Core clr support.","user":{"login":"matthid","id":1866463,"avatar_url":"https://avatars.githubusercontent.com/u/1866463?v=3","gravatar_id":"","url":"https://api.github.com/users/matthid","html_url":"https://github.com/matthid","followers_url":"https://api.github.com/users/matthid/followers","following_url":"https://api.github.com/users/matthid/following{/other_user}","gists_url":"https://api.github.com/users/matthid/gists{/gist_id}","starred_url":"https://api.github.com/users/matthid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthid/subscriptions","organizations_url":"https://api.github.com/users/matthid/orgs","repos_url":"https://api.github.com/users/matthid/repos","events_url":"https://api.github.com/users/matthid/events{/privacy}","received_events_url":"https://api.github.com/users/matthid/received_events","type":"User","site_admin":false},"body":"Rebased Version of https://github.com/fsprojects/Argu/pull/47\r\n\r\nAdditionally I added a special case for a \"First\" parameter if it is \"Mandatory\" in that case it can be assigned an empty name (which basically allows it to be used as positional argument).\r\n\r\nExample is added as Unit Test. Let me know if you want this to be split to an extra PR.","created_at":"2016-07-01T22:59:05Z","updated_at":"2016-07-10T21:55:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d8e8107a8de803a1284dbdc790f667015587e61","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fsprojects/Argu/pulls/57/commits","review_comments_url":"https://api.github.com/repos/fsprojects/Argu/pulls/57/comments","review_comment_url":"https://api.github.com/repos/fsprojects/Argu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fsprojects/Argu/issues/57/comments","statuses_url":"https://api.github.com/repos/fsprojects/Argu/statuses/9b8ebc14d3acb2a94882d024b6de2e0db801a25f","head":{"label":"matthid:core_clr","ref":"core_clr","sha":"9b8ebc14d3acb2a94882d024b6de2e0db801a25f","user":{"login":"matthid","id":1866463,"avatar_url":"https://avatars.githubusercontent.com/u/1866463?v=3","gravatar_id":"","url":"https://api.github.com/users/matthid","html_url":"https://github.com/matthid","followers_url":"https://api.github.com/users/matthid/followers","following_url":"https://api.github.com/users/matthid/following{/other_user}","gists_url":"https://api.github.com/users/matthid/gists{/gist_id}","starred_url":"https://api.github.com/users/matthid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthid/subscriptions","organizations_url":"https://api.github.com/users/matthid/orgs","repos_url":"https://api.github.com/users/matthid/repos","events_url":"https://api.github.com/users/matthid/events{/privacy}","received_events_url":"https://api.github.com/users/matthid/received_events","type":"User","site_admin":false},"repo":{"id":62412150,"name":"Argu","full_name":"matthid/Argu","owner":{"login":"matthid","id":1866463,"avatar_url":"https://avatars.githubusercontent.com/u/1866463?v=3","gravatar_id":"","url":"https://api.github.com/users/matthid","html_url":"https://github.com/matthid","followers_url":"https://api.github.com/users/matthid/followers","following_url":"https://api.github.com/users/matthid/following{/other_user}","gists_url":"https://api.github.com/users/matthid/gists{/gist_id}","starred_url":"https://api.github.com/users/matthid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthid/subscriptions","organizations_url":"https://api.github.com/users/matthid/orgs","repos_url":"https://api.github.com/users/matthid/repos","events_url":"https://api.github.com/users/matthid/events{/privacy}","received_events_url":"https://api.github.com/users/matthid/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matthid/Argu","description":"A declarative CLI argument/XML configuration parser for F#","fork":true,"url":"https://api.github.com/repos/matthid/Argu","forks_url":"https://api.github.com/repos/matthid/Argu/forks","keys_url":"https://api.github.com/repos/matthid/Argu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matthid/Argu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matthid/Argu/teams","hooks_url":"https://api.github.com/repos/matthid/Argu/hooks","issue_events_url":"https://api.github.com/repos/matthid/Argu/issues/events{/number}","events_url":"https://api.github.com/repos/matthid/Argu/events","assignees_url":"https://api.github.com/repos/matthid/Argu/assignees{/user}","branches_url":"https://api.github.com/repos/matthid/Argu/branches{/branch}","tags_url":"https://api.github.com/repos/matthid/Argu/tags","blobs_url":"https://api.github.com/repos/matthid/Argu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matthid/Argu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matthid/Argu/git/refs{/sha}","trees_url":"https://api.github.com/repos/matthid/Argu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matthid/Argu/statuses/{sha}","languages_url":"https://api.github.com/repos/matthid/Argu/languages","stargazers_url":"https://api.github.com/repos/matthid/Argu/stargazers","contributors_url":"https://api.github.com/repos/matthid/Argu/contributors","subscribers_url":"https://api.github.com/repos/matthid/Argu/subscribers","subscription_url":"https://api.github.com/repos/matthid/Argu/subscription","commits_url":"https://api.github.com/repos/matthid/Argu/commits{/sha}","git_commits_url":"https://api.github.com/repos/matthid/Argu/git/commits{/sha}","comments_url":"https://api.github.com/repos/matthid/Argu/comments{/number}","issue_comment_url":"https://api.github.com/repos/matthid/Argu/issues/comments{/number}","contents_url":"https://api.github.com/repos/matthid/Argu/contents/{+path}","compare_url":"https://api.github.com/repos/matthid/Argu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matthid/Argu/merges","archive_url":"https://api.github.com/repos/matthid/Argu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matthid/Argu/downloads","issues_url":"https://api.github.com/repos/matthid/Argu/issues{/number}","pulls_url":"https://api.github.com/repos/matthid/Argu/pulls{/number}","milestones_url":"https://api.github.com/repos/matthid/Argu/milestones{/number}","notifications_url":"https://api.github.com/repos/matthid/Argu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matthid/Argu/labels{/name}","releases_url":"https://api.github.com/repos/matthid/Argu/releases{/id}","deployments_url":"https://api.github.com/repos/matthid/Argu/deployments","created_at":"2016-07-01T18:23:14Z","updated_at":"2016-07-01T18:23:14Z","pushed_at":"2016-07-09T14:13:59Z","git_url":"git://github.com/matthid/Argu.git","ssh_url":"git@github.com:matthid/Argu.git","clone_url":"https://github.com/matthid/Argu.git","svn_url":"https://github.com/matthid/Argu","homepage":"http://fsprojects.github.io/Argu/","size":3872,"stargazers_count":0,"watchers_count":0,"language":"F#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fsprojects:master","ref":"master","sha":"b40fe52c5c138826eb961386f59a6e50c5db2183","user":{"login":"fsprojects","id":6001315,"avatar_url":"https://avatars.githubusercontent.com/u/6001315?v=3","gravatar_id":"","url":"https://api.github.com/users/fsprojects","html_url":"https://github.com/fsprojects","followers_url":"https://api.github.com/users/fsprojects/followers","following_url":"https://api.github.com/users/fsprojects/following{/other_user}","gists_url":"https://api.github.com/users/fsprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/fsprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsprojects/subscriptions","organizations_url":"https://api.github.com/users/fsprojects/orgs","repos_url":"https://api.github.com/users/fsprojects/repos","events_url":"https://api.github.com/users/fsprojects/events{/privacy}","received_events_url":"https://api.github.com/users/fsprojects/received_events","type":"Organization","site_admin":false},"repo":{"id":8786949,"name":"Argu","full_name":"fsprojects/Argu","owner":{"login":"fsprojects","id":6001315,"avatar_url":"https://avatars.githubusercontent.com/u/6001315?v=3","gravatar_id":"","url":"https://api.github.com/users/fsprojects","html_url":"https://github.com/fsprojects","followers_url":"https://api.github.com/users/fsprojects/followers","following_url":"https://api.github.com/users/fsprojects/following{/other_user}","gists_url":"https://api.github.com/users/fsprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/fsprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsprojects/subscriptions","organizations_url":"https://api.github.com/users/fsprojects/orgs","repos_url":"https://api.github.com/users/fsprojects/repos","events_url":"https://api.github.com/users/fsprojects/events{/privacy}","received_events_url":"https://api.github.com/users/fsprojects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fsprojects/Argu","description":"A declarative CLI argument/XML configuration parser for F#","fork":false,"url":"https://api.github.com/repos/fsprojects/Argu","forks_url":"https://api.github.com/repos/fsprojects/Argu/forks","keys_url":"https://api.github.com/repos/fsprojects/Argu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fsprojects/Argu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fsprojects/Argu/teams","hooks_url":"https://api.github.com/repos/fsprojects/Argu/hooks","issue_events_url":"https://api.github.com/repos/fsprojects/Argu/issues/events{/number}","events_url":"https://api.github.com/repos/fsprojects/Argu/events","assignees_url":"https://api.github.com/repos/fsprojects/Argu/assignees{/user}","branches_url":"https://api.github.com/repos/fsprojects/Argu/branches{/branch}","tags_url":"https://api.github.com/repos/fsprojects/Argu/tags","blobs_url":"https://api.github.com/repos/fsprojects/Argu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fsprojects/Argu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fsprojects/Argu/git/refs{/sha}","trees_url":"https://api.github.com/repos/fsprojects/Argu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fsprojects/Argu/statuses/{sha}","languages_url":"https://api.github.com/repos/fsprojects/Argu/languages","stargazers_url":"https://api.github.com/repos/fsprojects/Argu/stargazers","contributors_url":"https://api.github.com/repos/fsprojects/Argu/contributors","subscribers_url":"https://api.github.com/repos/fsprojects/Argu/subscribers","subscription_url":"https://api.github.com/repos/fsprojects/Argu/subscription","commits_url":"https://api.github.com/repos/fsprojects/Argu/commits{/sha}","git_commits_url":"https://api.github.com/repos/fsprojects/Argu/git/commits{/sha}","comments_url":"https://api.github.com/repos/fsprojects/Argu/comments{/number}","issue_comment_url":"https://api.github.com/repos/fsprojects/Argu/issues/comments{/number}","contents_url":"https://api.github.com/repos/fsprojects/Argu/contents/{+path}","compare_url":"https://api.github.com/repos/fsprojects/Argu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fsprojects/Argu/merges","archive_url":"https://api.github.com/repos/fsprojects/Argu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fsprojects/Argu/downloads","issues_url":"https://api.github.com/repos/fsprojects/Argu/issues{/number}","pulls_url":"https://api.github.com/repos/fsprojects/Argu/pulls{/number}","milestones_url":"https://api.github.com/repos/fsprojects/Argu/milestones{/number}","notifications_url":"https://api.github.com/repos/fsprojects/Argu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fsprojects/Argu/labels{/name}","releases_url":"https://api.github.com/repos/fsprojects/Argu/releases{/id}","deployments_url":"https://api.github.com/repos/fsprojects/Argu/deployments","created_at":"2013-03-14T22:37:38Z","updated_at":"2016-07-09T20:50:01Z","pushed_at":"2016-07-09T14:14:00Z","git_url":"git://github.com/fsprojects/Argu.git","ssh_url":"git@github.com:fsprojects/Argu.git","clone_url":"https://github.com/fsprojects/Argu.git","svn_url":"https://github.com/fsprojects/Argu","homepage":"http://fsprojects.github.io/Argu/","size":4051,"stargazers_count":114,"watchers_count":114,"language":"F#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"open_issues_count":4,"forks":25,"open_issues":4,"watchers":114,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fsprojects/Argu/pulls/57"},"html":{"href":"https://github.com/fsprojects/Argu/pull/57"},"issue":{"href":"https://api.github.com/repos/fsprojects/Argu/issues/57"},"comments":{"href":"https://api.github.com/repos/fsprojects/Argu/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/fsprojects/Argu/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/fsprojects/Argu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fsprojects/Argu/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/fsprojects/Argu/statuses/9b8ebc14d3acb2a94882d024b6de2e0db801a25f"}}}}
{"actor":{"display_login":"eiriktsarpalis"}}