{"action":"created","comment":{"url":"https://api.github.com/repos/fsprojects/Projekt/pulls/comments/40525978","id":40525978,"diff_hunk":"@@ -50,7 +50,16 @@ let main argv =\n     | MoveFile data ->\n         (Project.moveFile data.ProjPath data.FilePath data.Direction data.Repeat)\n         |> saveOrPrintError data.ProjPath\n-        \n+\n+    | ListFiles data ->\n+        match (Project.listFiles data.ProjPath) with\n+        | Success files ->\n+            List.iter (fun file -> eprintfn \"%s\" file) files","path":"src/Projekt/Main.fs","position":30,"original_position":30,"commit_id":"7293938a1aa643b60f2bfde1b7afbdf748cc657f","original_commit_id":"7293938a1aa643b60f2bfde1b7afbdf748cc657f","user":{"login":"kjnilsson","id":1180564,"avatar_url":"https://avatars.githubusercontent.com/u/1180564?v=3","gravatar_id":"","url":"https://api.github.com/users/kjnilsson","html_url":"https://github.com/kjnilsson","followers_url":"https://api.github.com/users/kjnilsson/followers","following_url":"https://api.github.com/users/kjnilsson/following{/other_user}","gists_url":"https://api.github.com/users/kjnilsson/gists{/gist_id}","starred_url":"https://api.github.com/users/kjnilsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjnilsson/subscriptions","organizations_url":"https://api.github.com/users/kjnilsson/orgs","repos_url":"https://api.github.com/users/kjnilsson/repos","events_url":"https://api.github.com/users/kjnilsson/events{/privacy}","received_events_url":"https://api.github.com/users/kjnilsson/received_events","type":"User","site_admin":false},"body":"Why not use printfn here to print to std out instead of stderr?","created_at":"2015-09-28T08:06:01Z","updated_at":"2015-09-28T08:06:01Z","html_url":"https://github.com/fsprojects/Projekt/pull/33#discussion_r40525978","pull_request_url":"https://api.github.com/repos/fsprojects/Projekt/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/fsprojects/Projekt/pulls/comments/40525978"},"html":{"href":"https://github.com/fsprojects/Projekt/pull/33#discussion_r40525978"},"pull_request":{"href":"https://api.github.com/repos/fsprojects/Projekt/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/fsprojects/Projekt/pulls/33","id":46086594,"html_url":"https://github.com/fsprojects/Projekt/pull/33","diff_url":"https://github.com/fsprojects/Projekt/pull/33.diff","patch_url":"https://github.com/fsprojects/Projekt/pull/33.patch","issue_url":"https://api.github.com/repos/fsprojects/Projekt/issues/33","number":33,"state":"open","locked":false,"title":"add listfiles option","user":{"login":"willryan","id":1264252,"avatar_url":"https://avatars.githubusercontent.com/u/1264252?v=3","gravatar_id":"","url":"https://api.github.com/users/willryan","html_url":"https://github.com/willryan","followers_url":"https://api.github.com/users/willryan/followers","following_url":"https://api.github.com/users/willryan/following{/other_user}","gists_url":"https://api.github.com/users/willryan/gists{/gist_id}","starred_url":"https://api.github.com/users/willryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willryan/subscriptions","organizations_url":"https://api.github.com/users/willryan/orgs","repos_url":"https://api.github.com/users/willryan/repos","events_url":"https://api.github.com/users/willryan/events{/privacy}","received_events_url":"https://api.github.com/users/willryan/received_events","type":"User","site_admin":false},"body":"I would like to use Projekt such that I rarely have to view or edit a raw .fsproj.  But I need to know the current build order to make effective use of the movefile command.  At present this requires me to view the .fsproj, so I might as well move the items around by hand at that point.  This change adds a \"listfiles\" option which lists all the Included files in the project to the shell, thus providing the data I need to understand my current build order (without showing me the other content in the .fsproj).","created_at":"2015-09-26T18:15:51Z","updated_at":"2015-09-28T08:06:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d410f6df249426ced6d2e604062b4775238d7b0a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fsprojects/Projekt/pulls/33/commits","review_comments_url":"https://api.github.com/repos/fsprojects/Projekt/pulls/33/comments","review_comment_url":"https://api.github.com/repos/fsprojects/Projekt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fsprojects/Projekt/issues/33/comments","statuses_url":"https://api.github.com/repos/fsprojects/Projekt/statuses/7293938a1aa643b60f2bfde1b7afbdf748cc657f","head":{"label":"willryan:master","ref":"master","sha":"7293938a1aa643b60f2bfde1b7afbdf748cc657f","user":{"login":"willryan","id":1264252,"avatar_url":"https://avatars.githubusercontent.com/u/1264252?v=3","gravatar_id":"","url":"https://api.github.com/users/willryan","html_url":"https://github.com/willryan","followers_url":"https://api.github.com/users/willryan/followers","following_url":"https://api.github.com/users/willryan/following{/other_user}","gists_url":"https://api.github.com/users/willryan/gists{/gist_id}","starred_url":"https://api.github.com/users/willryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willryan/subscriptions","organizations_url":"https://api.github.com/users/willryan/orgs","repos_url":"https://api.github.com/users/willryan/repos","events_url":"https://api.github.com/users/willryan/events{/privacy}","received_events_url":"https://api.github.com/users/willryan/received_events","type":"User","site_admin":false},"repo":{"id":43209566,"name":"Projekt","full_name":"willryan/Projekt","owner":{"login":"willryan","id":1264252,"avatar_url":"https://avatars.githubusercontent.com/u/1264252?v=3","gravatar_id":"","url":"https://api.github.com/users/willryan","html_url":"https://github.com/willryan","followers_url":"https://api.github.com/users/willryan/followers","following_url":"https://api.github.com/users/willryan/following{/other_user}","gists_url":"https://api.github.com/users/willryan/gists{/gist_id}","starred_url":"https://api.github.com/users/willryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willryan/subscriptions","organizations_url":"https://api.github.com/users/willryan/orgs","repos_url":"https://api.github.com/users/willryan/repos","events_url":"https://api.github.com/users/willryan/events{/privacy}","received_events_url":"https://api.github.com/users/willryan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/willryan/Projekt","description":"Utility for fsharp project files","fork":true,"url":"https://api.github.com/repos/willryan/Projekt","forks_url":"https://api.github.com/repos/willryan/Projekt/forks","keys_url":"https://api.github.com/repos/willryan/Projekt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/willryan/Projekt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/willryan/Projekt/teams","hooks_url":"https://api.github.com/repos/willryan/Projekt/hooks","issue_events_url":"https://api.github.com/repos/willryan/Projekt/issues/events{/number}","events_url":"https://api.github.com/repos/willryan/Projekt/events","assignees_url":"https://api.github.com/repos/willryan/Projekt/assignees{/user}","branches_url":"https://api.github.com/repos/willryan/Projekt/branches{/branch}","tags_url":"https://api.github.com/repos/willryan/Projekt/tags","blobs_url":"https://api.github.com/repos/willryan/Projekt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/willryan/Projekt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/willryan/Projekt/git/refs{/sha}","trees_url":"https://api.github.com/repos/willryan/Projekt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/willryan/Projekt/statuses/{sha}","languages_url":"https://api.github.com/repos/willryan/Projekt/languages","stargazers_url":"https://api.github.com/repos/willryan/Projekt/stargazers","contributors_url":"https://api.github.com/repos/willryan/Projekt/contributors","subscribers_url":"https://api.github.com/repos/willryan/Projekt/subscribers","subscription_url":"https://api.github.com/repos/willryan/Projekt/subscription","commits_url":"https://api.github.com/repos/willryan/Projekt/commits{/sha}","git_commits_url":"https://api.github.com/repos/willryan/Projekt/git/commits{/sha}","comments_url":"https://api.github.com/repos/willryan/Projekt/comments{/number}","issue_comment_url":"https://api.github.com/repos/willryan/Projekt/issues/comments{/number}","contents_url":"https://api.github.com/repos/willryan/Projekt/contents/{+path}","compare_url":"https://api.github.com/repos/willryan/Projekt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/willryan/Projekt/merges","archive_url":"https://api.github.com/repos/willryan/Projekt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/willryan/Projekt/downloads","issues_url":"https://api.github.com/repos/willryan/Projekt/issues{/number}","pulls_url":"https://api.github.com/repos/willryan/Projekt/pulls{/number}","milestones_url":"https://api.github.com/repos/willryan/Projekt/milestones{/number}","notifications_url":"https://api.github.com/repos/willryan/Projekt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/willryan/Projekt/labels{/name}","releases_url":"https://api.github.com/repos/willryan/Projekt/releases{/id}","created_at":"2015-09-26T15:00:27Z","updated_at":"2015-09-26T15:00:28Z","pushed_at":"2015-09-26T18:09:15Z","git_url":"git://github.com/willryan/Projekt.git","ssh_url":"git@github.com:willryan/Projekt.git","clone_url":"https://github.com/willryan/Projekt.git","svn_url":"https://github.com/willryan/Projekt","homepage":"http://fsprojects.github.io/Projekt/","size":203,"stargazers_count":0,"watchers_count":0,"language":"F#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"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":"ec27c66b8fdc2b96e64e17015e6081a042dd5149","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":37064511,"name":"Projekt","full_name":"fsprojects/Projekt","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/Projekt","description":"Utility for fsharp project files","fork":false,"url":"https://api.github.com/repos/fsprojects/Projekt","forks_url":"https://api.github.com/repos/fsprojects/Projekt/forks","keys_url":"https://api.github.com/repos/fsprojects/Projekt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fsprojects/Projekt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fsprojects/Projekt/teams","hooks_url":"https://api.github.com/repos/fsprojects/Projekt/hooks","issue_events_url":"https://api.github.com/repos/fsprojects/Projekt/issues/events{/number}","events_url":"https://api.github.com/repos/fsprojects/Projekt/events","assignees_url":"https://api.github.com/repos/fsprojects/Projekt/assignees{/user}","branches_url":"https://api.github.com/repos/fsprojects/Projekt/branches{/branch}","tags_url":"https://api.github.com/repos/fsprojects/Projekt/tags","blobs_url":"https://api.github.com/repos/fsprojects/Projekt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fsprojects/Projekt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fsprojects/Projekt/git/refs{/sha}","trees_url":"https://api.github.com/repos/fsprojects/Projekt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fsprojects/Projekt/statuses/{sha}","languages_url":"https://api.github.com/repos/fsprojects/Projekt/languages","stargazers_url":"https://api.github.com/repos/fsprojects/Projekt/stargazers","contributors_url":"https://api.github.com/repos/fsprojects/Projekt/contributors","subscribers_url":"https://api.github.com/repos/fsprojects/Projekt/subscribers","subscription_url":"https://api.github.com/repos/fsprojects/Projekt/subscription","commits_url":"https://api.github.com/repos/fsprojects/Projekt/commits{/sha}","git_commits_url":"https://api.github.com/repos/fsprojects/Projekt/git/commits{/sha}","comments_url":"https://api.github.com/repos/fsprojects/Projekt/comments{/number}","issue_comment_url":"https://api.github.com/repos/fsprojects/Projekt/issues/comments{/number}","contents_url":"https://api.github.com/repos/fsprojects/Projekt/contents/{+path}","compare_url":"https://api.github.com/repos/fsprojects/Projekt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fsprojects/Projekt/merges","archive_url":"https://api.github.com/repos/fsprojects/Projekt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fsprojects/Projekt/downloads","issues_url":"https://api.github.com/repos/fsprojects/Projekt/issues{/number}","pulls_url":"https://api.github.com/repos/fsprojects/Projekt/pulls{/number}","milestones_url":"https://api.github.com/repos/fsprojects/Projekt/milestones{/number}","notifications_url":"https://api.github.com/repos/fsprojects/Projekt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fsprojects/Projekt/labels{/name}","releases_url":"https://api.github.com/repos/fsprojects/Projekt/releases{/id}","created_at":"2015-06-08T12:07:37Z","updated_at":"2015-08-31T02:56:07Z","pushed_at":"2015-09-26T18:15:51Z","git_url":"git://github.com/fsprojects/Projekt.git","ssh_url":"git@github.com:fsprojects/Projekt.git","clone_url":"https://github.com/fsprojects/Projekt.git","svn_url":"https://github.com/fsprojects/Projekt","homepage":"http://fsprojects.github.io/Projekt/","size":485,"stargazers_count":5,"watchers_count":5,"language":"F#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":8,"forks":6,"open_issues":8,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fsprojects/Projekt/pulls/33"},"html":{"href":"https://github.com/fsprojects/Projekt/pull/33"},"issue":{"href":"https://api.github.com/repos/fsprojects/Projekt/issues/33"},"comments":{"href":"https://api.github.com/repos/fsprojects/Projekt/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/fsprojects/Projekt/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/fsprojects/Projekt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fsprojects/Projekt/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/fsprojects/Projekt/statuses/7293938a1aa643b60f2bfde1b7afbdf748cc657f"}}}}