{"action":"closed","number":515,"pull_request":{"url":"https://api.github.com/repos/storyteller/Storyteller/pulls/515","id":69632258,"html_url":"https://github.com/storyteller/Storyteller/pull/515","diff_url":"https://github.com/storyteller/Storyteller/pull/515.diff","patch_url":"https://github.com/storyteller/Storyteller/pull/515.patch","issue_url":"https://api.github.com/repos/storyteller/Storyteller/issues/515","number":515,"state":"closed","locked":false,"title":"Fix parsing of code sample directory list","user":{"login":"BeeWarloc","id":1131289,"avatar_url":"https://avatars.githubusercontent.com/u/1131289?v=3","gravatar_id":"","url":"https://api.github.com/users/BeeWarloc","html_url":"https://github.com/BeeWarloc","followers_url":"https://api.github.com/users/BeeWarloc/followers","following_url":"https://api.github.com/users/BeeWarloc/following{/other_user}","gists_url":"https://api.github.com/users/BeeWarloc/gists{/gist_id}","starred_url":"https://api.github.com/users/BeeWarloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BeeWarloc/subscriptions","organizations_url":"https://api.github.com/users/BeeWarloc/orgs","repos_url":"https://api.github.com/users/BeeWarloc/repos","events_url":"https://api.github.com/users/BeeWarloc/events{/privacy}","received_events_url":"https://api.github.com/users/BeeWarloc/received_events","type":"User","site_admin":false},"body":"Running ST.exe doc-run or doc-export with a -c flag currently crashes with the following exception:\r\n\r\n```\r\n$ ../Storyteller/src/ST/bin/Debug/ST.exe doc-run -c samples                                                                                                                                   \r\nError parsing input                                                                                                                                                                           \r\nSystem.InvalidOperationException: Sequence contains no elements                                                                                                                               \r\n   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)                                                                                                                             \r\n   at FubuCore.CommandLine.EnumerableFlag.Handle(Object input, Queue`1 tokens) in c:\\BuildAgent\\work\\4dafc5966c0aefb4\\src\\FubuCore\\CommandLine\\EnumerableFlag.cs:line 24                      \r\n   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)                                                                                                  \r\n   at FubuCore.CommandLine.UsageGraph.BuildInput(Queue`1 tokens) in c:\\BuildAgent\\work\\4dafc5966c0aefb4\\src\\FubuCore\\CommandLine\\UsageGraph.cs:line 64                                        \r\n   at FubuCore.CommandLine.CommandFactory.buildRun(Queue`1 queue, String commandName) in c:\\BuildAgent\\work\\4dafc5966c0aefb4\\src\\FubuCore\\CommandLine\\CommandFactory.cs:line 81               \r\n```\r\n\r\nAfter a bit of investigation the problem turned out to be that FubuCore.CommandLine don't support arrays. Changing the property type to List&lt;string&gt; fixes the problem. :)\r\n\r\n","created_at":"2016-05-11T08:22:50Z","updated_at":"2016-05-18T16:21:29Z","closed_at":"2016-05-18T16:21:29Z","merged_at":"2016-05-18T16:21:29Z","merge_commit_sha":"fd2fdf98b0377e816db2fe03f21af13a8c293bcd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/storyteller/Storyteller/pulls/515/commits","review_comments_url":"https://api.github.com/repos/storyteller/Storyteller/pulls/515/comments","review_comment_url":"https://api.github.com/repos/storyteller/Storyteller/pulls/comments{/number}","comments_url":"https://api.github.com/repos/storyteller/Storyteller/issues/515/comments","statuses_url":"https://api.github.com/repos/storyteller/Storyteller/statuses/0cba916bc33d1e288fd6ae5399110ab113c51c1a","head":{"label":"BeeWarloc:feature/fix-st-code-arg-parsing","ref":"feature/fix-st-code-arg-parsing","sha":"0cba916bc33d1e288fd6ae5399110ab113c51c1a","user":{"login":"BeeWarloc","id":1131289,"avatar_url":"https://avatars.githubusercontent.com/u/1131289?v=3","gravatar_id":"","url":"https://api.github.com/users/BeeWarloc","html_url":"https://github.com/BeeWarloc","followers_url":"https://api.github.com/users/BeeWarloc/followers","following_url":"https://api.github.com/users/BeeWarloc/following{/other_user}","gists_url":"https://api.github.com/users/BeeWarloc/gists{/gist_id}","starred_url":"https://api.github.com/users/BeeWarloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BeeWarloc/subscriptions","organizations_url":"https://api.github.com/users/BeeWarloc/orgs","repos_url":"https://api.github.com/users/BeeWarloc/repos","events_url":"https://api.github.com/users/BeeWarloc/events{/privacy}","received_events_url":"https://api.github.com/users/BeeWarloc/received_events","type":"User","site_admin":false},"repo":{"id":58526305,"name":"Storyteller","full_name":"BeeWarloc/Storyteller","owner":{"login":"BeeWarloc","id":1131289,"avatar_url":"https://avatars.githubusercontent.com/u/1131289?v=3","gravatar_id":"","url":"https://api.github.com/users/BeeWarloc","html_url":"https://github.com/BeeWarloc","followers_url":"https://api.github.com/users/BeeWarloc/followers","following_url":"https://api.github.com/users/BeeWarloc/following{/other_user}","gists_url":"https://api.github.com/users/BeeWarloc/gists{/gist_id}","starred_url":"https://api.github.com/users/BeeWarloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BeeWarloc/subscriptions","organizations_url":"https://api.github.com/users/BeeWarloc/orgs","repos_url":"https://api.github.com/users/BeeWarloc/repos","events_url":"https://api.github.com/users/BeeWarloc/events{/privacy}","received_events_url":"https://api.github.com/users/BeeWarloc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BeeWarloc/Storyteller","description":"Executable Specifications for .Net","fork":true,"url":"https://api.github.com/repos/BeeWarloc/Storyteller","forks_url":"https://api.github.com/repos/BeeWarloc/Storyteller/forks","keys_url":"https://api.github.com/repos/BeeWarloc/Storyteller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BeeWarloc/Storyteller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BeeWarloc/Storyteller/teams","hooks_url":"https://api.github.com/repos/BeeWarloc/Storyteller/hooks","issue_events_url":"https://api.github.com/repos/BeeWarloc/Storyteller/issues/events{/number}","events_url":"https://api.github.com/repos/BeeWarloc/Storyteller/events","assignees_url":"https://api.github.com/repos/BeeWarloc/Storyteller/assignees{/user}","branches_url":"https://api.github.com/repos/BeeWarloc/Storyteller/branches{/branch}","tags_url":"https://api.github.com/repos/BeeWarloc/Storyteller/tags","blobs_url":"https://api.github.com/repos/BeeWarloc/Storyteller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BeeWarloc/Storyteller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BeeWarloc/Storyteller/git/refs{/sha}","trees_url":"https://api.github.com/repos/BeeWarloc/Storyteller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BeeWarloc/Storyteller/statuses/{sha}","languages_url":"https://api.github.com/repos/BeeWarloc/Storyteller/languages","stargazers_url":"https://api.github.com/repos/BeeWarloc/Storyteller/stargazers","contributors_url":"https://api.github.com/repos/BeeWarloc/Storyteller/contributors","subscribers_url":"https://api.github.com/repos/BeeWarloc/Storyteller/subscribers","subscription_url":"https://api.github.com/repos/BeeWarloc/Storyteller/subscription","commits_url":"https://api.github.com/repos/BeeWarloc/Storyteller/commits{/sha}","git_commits_url":"https://api.github.com/repos/BeeWarloc/Storyteller/git/commits{/sha}","comments_url":"https://api.github.com/repos/BeeWarloc/Storyteller/comments{/number}","issue_comment_url":"https://api.github.com/repos/BeeWarloc/Storyteller/issues/comments{/number}","contents_url":"https://api.github.com/repos/BeeWarloc/Storyteller/contents/{+path}","compare_url":"https://api.github.com/repos/BeeWarloc/Storyteller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BeeWarloc/Storyteller/merges","archive_url":"https://api.github.com/repos/BeeWarloc/Storyteller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BeeWarloc/Storyteller/downloads","issues_url":"https://api.github.com/repos/BeeWarloc/Storyteller/issues{/number}","pulls_url":"https://api.github.com/repos/BeeWarloc/Storyteller/pulls{/number}","milestones_url":"https://api.github.com/repos/BeeWarloc/Storyteller/milestones{/number}","notifications_url":"https://api.github.com/repos/BeeWarloc/Storyteller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BeeWarloc/Storyteller/labels{/name}","releases_url":"https://api.github.com/repos/BeeWarloc/Storyteller/releases{/id}","deployments_url":"https://api.github.com/repos/BeeWarloc/Storyteller/deployments","created_at":"2016-05-11T08:12:55Z","updated_at":"2016-05-11T08:12:58Z","pushed_at":"2016-05-11T08:16:16Z","git_url":"git://github.com/BeeWarloc/Storyteller.git","ssh_url":"git@github.com:BeeWarloc/Storyteller.git","clone_url":"https://github.com/BeeWarloc/Storyteller.git","svn_url":"https://github.com/BeeWarloc/Storyteller","homepage":"http://storyteller.github.io","size":20508,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"storyteller:master","ref":"master","sha":"5fa6e0f07ad935c74a80137514abfa776a29026e","user":{"login":"storyteller","id":220095,"avatar_url":"https://avatars.githubusercontent.com/u/220095?v=3","gravatar_id":"","url":"https://api.github.com/users/storyteller","html_url":"https://github.com/storyteller","followers_url":"https://api.github.com/users/storyteller/followers","following_url":"https://api.github.com/users/storyteller/following{/other_user}","gists_url":"https://api.github.com/users/storyteller/gists{/gist_id}","starred_url":"https://api.github.com/users/storyteller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storyteller/subscriptions","organizations_url":"https://api.github.com/users/storyteller/orgs","repos_url":"https://api.github.com/users/storyteller/repos","events_url":"https://api.github.com/users/storyteller/events{/privacy}","received_events_url":"https://api.github.com/users/storyteller/received_events","type":"Organization","site_admin":false},"repo":{"id":6370012,"name":"Storyteller","full_name":"storyteller/Storyteller","owner":{"login":"storyteller","id":220095,"avatar_url":"https://avatars.githubusercontent.com/u/220095?v=3","gravatar_id":"","url":"https://api.github.com/users/storyteller","html_url":"https://github.com/storyteller","followers_url":"https://api.github.com/users/storyteller/followers","following_url":"https://api.github.com/users/storyteller/following{/other_user}","gists_url":"https://api.github.com/users/storyteller/gists{/gist_id}","starred_url":"https://api.github.com/users/storyteller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storyteller/subscriptions","organizations_url":"https://api.github.com/users/storyteller/orgs","repos_url":"https://api.github.com/users/storyteller/repos","events_url":"https://api.github.com/users/storyteller/events{/privacy}","received_events_url":"https://api.github.com/users/storyteller/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/storyteller/Storyteller","description":"Executable Specifications for .Net","fork":false,"url":"https://api.github.com/repos/storyteller/Storyteller","forks_url":"https://api.github.com/repos/storyteller/Storyteller/forks","keys_url":"https://api.github.com/repos/storyteller/Storyteller/keys{/key_id}","collaborators_url":"https://api.github.com/repos/storyteller/Storyteller/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/storyteller/Storyteller/teams","hooks_url":"https://api.github.com/repos/storyteller/Storyteller/hooks","issue_events_url":"https://api.github.com/repos/storyteller/Storyteller/issues/events{/number}","events_url":"https://api.github.com/repos/storyteller/Storyteller/events","assignees_url":"https://api.github.com/repos/storyteller/Storyteller/assignees{/user}","branches_url":"https://api.github.com/repos/storyteller/Storyteller/branches{/branch}","tags_url":"https://api.github.com/repos/storyteller/Storyteller/tags","blobs_url":"https://api.github.com/repos/storyteller/Storyteller/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/storyteller/Storyteller/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/storyteller/Storyteller/git/refs{/sha}","trees_url":"https://api.github.com/repos/storyteller/Storyteller/git/trees{/sha}","statuses_url":"https://api.github.com/repos/storyteller/Storyteller/statuses/{sha}","languages_url":"https://api.github.com/repos/storyteller/Storyteller/languages","stargazers_url":"https://api.github.com/repos/storyteller/Storyteller/stargazers","contributors_url":"https://api.github.com/repos/storyteller/Storyteller/contributors","subscribers_url":"https://api.github.com/repos/storyteller/Storyteller/subscribers","subscription_url":"https://api.github.com/repos/storyteller/Storyteller/subscription","commits_url":"https://api.github.com/repos/storyteller/Storyteller/commits{/sha}","git_commits_url":"https://api.github.com/repos/storyteller/Storyteller/git/commits{/sha}","comments_url":"https://api.github.com/repos/storyteller/Storyteller/comments{/number}","issue_comment_url":"https://api.github.com/repos/storyteller/Storyteller/issues/comments{/number}","contents_url":"https://api.github.com/repos/storyteller/Storyteller/contents/{+path}","compare_url":"https://api.github.com/repos/storyteller/Storyteller/compare/{base}...{head}","merges_url":"https://api.github.com/repos/storyteller/Storyteller/merges","archive_url":"https://api.github.com/repos/storyteller/Storyteller/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/storyteller/Storyteller/downloads","issues_url":"https://api.github.com/repos/storyteller/Storyteller/issues{/number}","pulls_url":"https://api.github.com/repos/storyteller/Storyteller/pulls{/number}","milestones_url":"https://api.github.com/repos/storyteller/Storyteller/milestones{/number}","notifications_url":"https://api.github.com/repos/storyteller/Storyteller/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/storyteller/Storyteller/labels{/name}","releases_url":"https://api.github.com/repos/storyteller/Storyteller/releases{/id}","deployments_url":"https://api.github.com/repos/storyteller/Storyteller/deployments","created_at":"2012-10-24T13:05:27Z","updated_at":"2016-05-13T05:51:04Z","pushed_at":"2016-05-18T16:21:29Z","git_url":"git://github.com/storyteller/Storyteller.git","ssh_url":"git@github.com:storyteller/Storyteller.git","clone_url":"https://github.com/storyteller/Storyteller.git","svn_url":"https://github.com/storyteller/Storyteller","homepage":"http://storyteller.github.io","size":20575,"stargazers_count":82,"watchers_count":82,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":45,"forks":37,"open_issues":45,"watchers":82,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/storyteller/Storyteller/pulls/515"},"html":{"href":"https://github.com/storyteller/Storyteller/pull/515"},"issue":{"href":"https://api.github.com/repos/storyteller/Storyteller/issues/515"},"comments":{"href":"https://api.github.com/repos/storyteller/Storyteller/issues/515/comments"},"review_comments":{"href":"https://api.github.com/repos/storyteller/Storyteller/pulls/515/comments"},"review_comment":{"href":"https://api.github.com/repos/storyteller/Storyteller/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/storyteller/Storyteller/pulls/515/commits"},"statuses":{"href":"https://api.github.com/repos/storyteller/Storyteller/statuses/0cba916bc33d1e288fd6ae5399110ab113c51c1a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jeremydmiller","id":179211,"avatar_url":"https://avatars.githubusercontent.com/u/179211?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremydmiller","html_url":"https://github.com/jeremydmiller","followers_url":"https://api.github.com/users/jeremydmiller/followers","following_url":"https://api.github.com/users/jeremydmiller/following{/other_user}","gists_url":"https://api.github.com/users/jeremydmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremydmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremydmiller/subscriptions","organizations_url":"https://api.github.com/users/jeremydmiller/orgs","repos_url":"https://api.github.com/users/jeremydmiller/repos","events_url":"https://api.github.com/users/jeremydmiller/events{/privacy}","received_events_url":"https://api.github.com/users/jeremydmiller/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":3,"changed_files":2}}