payload: {"action":"created","comment":{"url":"https://api.github.com/repos/Zaid-Ajaj/Femto/pulls/comments/296784391","pull_request_review_id":253488708,"id":296784391,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI5Njc4NDM5MQ==","diff_hunk":"@@ -669,4 +588,82 @@ let rec main argv =\n                     else\n                         FemtoResult.ValidationFailed\n \n-        int result\n+\n+type CLIArguments =\n+    | [<MainCommand; ExactlyOnce>] Project of path : string\n+    | Validate\n+    | Resolve\n+    | Preview\n+\n+    interface IArgParserTemplate with\n+\n+        member this.Usage =\n+            match this with\n+            | Project _ -> \"specify the path to the F# project\"\n+            | Validate -> \"check that the XML tags used in the F# project file is parsable and a npm package version can be calculated\"","path":"Program.fs","position":297,"original_position":297,"commit_id":"1850a155de0ca4256a016136cfdbc865ae065495","original_commit_id":"1850a155de0ca4256a016136cfdbc865ae065495","user":{"login":"Zaid-Ajaj","id":13316248,"node_id":"MDQ6VXNlcjEzMzE2MjQ4","avatar_url":"https://avatars3.githubusercontent.com/u/13316248?v=4","gravatar_id":"","url":"https://api.github.com/users/Zaid-Ajaj","html_url":"https://github.com/Zaid-Ajaj","followers_url":"https://api.github.com/users/Zaid-Ajaj/followers","following_url":"https://api.github.com/users/Zaid-Ajaj/following{/other_user}","gists_url":"https://api.github.com/users/Zaid-Ajaj/gists{/gist_id}","starred_url":"https://api.github.com/users/Zaid-Ajaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zaid-Ajaj/subscriptions","organizations_url":"https://api.github.com/users/Zaid-Ajaj/orgs","repos_url":"https://api.github.com/users/Zaid-Ajaj/repos","events_url":"https://api.github.com/users/Zaid-Ajaj/events{/privacy}","received_events_url":"https://api.github.com/users/Zaid-Ajaj/received_events","type":"User","site_admin":false},"body":"Again not very important, but \"is parsable\" should be \"are parsable\" because \"tags\" is plural","created_at":"2019-06-24T15:33:39Z","updated_at":"2019-06-24T15:35:18Z","html_url":"https://github.com/Zaid-Ajaj/Femto/pull/26#discussion_r296784391","pull_request_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/pulls/26","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Zaid-Ajaj/Femto/pulls/comments/296784391"},"html":{"href":"https://github.com/Zaid-Ajaj/Femto/pull/26#discussion_r296784391"},"pull_request":{"href":"https://api.github.com/repos/Zaid-Ajaj/Femto/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/Zaid-Ajaj/Femto/pulls/26","id":291182874,"node_id":"MDExOlB1bGxSZXF1ZXN0MjkxMTgyODc0","html_url":"https://github.com/Zaid-Ajaj/Femto/pull/26","diff_url":"https://github.com/Zaid-Ajaj/Femto/pull/26.diff","patch_url":"https://github.com/Zaid-Ajaj/Femto/pull/26.patch","issue_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/issues/26","number":26,"state":"open","locked":false,"title":"Use argu","user":{"login":"MangelMaxime","id":4760796,"node_id":"MDQ6VXNlcjQ3NjA3OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/4760796?v=4","gravatar_id":"","url":"https://api.github.com/users/MangelMaxime","html_url":"https://github.com/MangelMaxime","followers_url":"https://api.github.com/users/MangelMaxime/followers","following_url":"https://api.github.com/users/MangelMaxime/following{/other_user}","gists_url":"https://api.github.com/users/MangelMaxime/gists{/gist_id}","starred_url":"https://api.github.com/users/MangelMaxime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MangelMaxime/subscriptions","organizations_url":"https://api.github.com/users/MangelMaxime/orgs","repos_url":"https://api.github.com/users/MangelMaxime/repos","events_url":"https://api.github.com/users/MangelMaxime/events{/privacy}","received_events_url":"https://api.github.com/users/MangelMaxime/received_events","type":"User","site_admin":false},"body":"Fix #18\r\n\r\nIn Unix, the presence or absence of an argument is what triggers the `true` or `false` state.\r\n\r\nSo if the user wants to activate the `resolve` mode, he needs to write `--resolve` no need for `--resolve true`.\r\n\r\nIf we want to disable something, in general, we add an argument like `--no-resolve`. \r\n\r\nFor our use cases, because by default, all the options are disabled I only added `--resolve` & Co.\r\n\r\n**Help preview**\r\n```\r\nUSAGE: femto [--help] [--validate] [--resolve] [--preview] <path>\r\n\r\nPROJECT:\r\n\r\n    <path>                specify the path to the F# project\r\n\r\nOPTIONS:\r\n\r\n    --validate            check that the XML tags used in the F# project file is parsable and a npm\r\n                          package version can be calculated\r\n    --resolve             resolve package resolution and apply the required actions\r\n    --preview             preview required actions for package resolution\r\n    --help                display this list of options.\r\n```","created_at":"2019-06-24T15:21:02Z","updated_at":"2019-06-24T15:35:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"122cee75ad0dbc68e9679485654bf2ff381631ce","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/pulls/26/commits","review_comments_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/pulls/26/comments","review_comment_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/issues/26/comments","statuses_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/statuses/1850a155de0ca4256a016136cfdbc865ae065495","head":{"label":"MangelMaxime:feature/argu","ref":"feature/argu","sha":"1850a155de0ca4256a016136cfdbc865ae065495","user":{"login":"MangelMaxime","id":4760796,"node_id":"MDQ6VXNlcjQ3NjA3OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/4760796?v=4","gravatar_id":"","url":"https://api.github.com/users/MangelMaxime","html_url":"https://github.com/MangelMaxime","followers_url":"https://api.github.com/users/MangelMaxime/followers","following_url":"https://api.github.com/users/MangelMaxime/following{/other_user}","gists_url":"https://api.github.com/users/MangelMaxime/gists{/gist_id}","starred_url":"https://api.github.com/users/MangelMaxime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MangelMaxime/subscriptions","organizations_url":"https://api.github.com/users/MangelMaxime/orgs","repos_url":"https://api.github.com/users/MangelMaxime/repos","events_url":"https://api.github.com/users/MangelMaxime/events{/privacy}","received_events_url":"https://api.github.com/users/MangelMaxime/received_events","type":"User","site_admin":false},"repo":{"id":193090663,"node_id":"MDEwOlJlcG9zaXRvcnkxOTMwOTA2NjM=","name":"Femto","full_name":"MangelMaxime/Femto","private":false,"owner":{"login":"MangelMaxime","id":4760796,"node_id":"MDQ6VXNlcjQ3NjA3OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/4760796?v=4","gravatar_id":"","url":"https://api.github.com/users/MangelMaxime","html_url":"https://github.com/MangelMaxime","followers_url":"https://api.github.com/users/MangelMaxime/followers","following_url":"https://api.github.com/users/MangelMaxime/following{/other_user}","gists_url":"https://api.github.com/users/MangelMaxime/gists{/gist_id}","starred_url":"https://api.github.com/users/MangelMaxime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MangelMaxime/subscriptions","organizations_url":"https://api.github.com/users/MangelMaxime/orgs","repos_url":"https://api.github.com/users/MangelMaxime/repos","events_url":"https://api.github.com/users/MangelMaxime/events{/privacy}","received_events_url":"https://api.github.com/users/MangelMaxime/received_events","type":"User","site_admin":false},"html_url":"https://github.com/MangelMaxime/Femto","description":"Femto a CLI tool that verifies compatibility of npm packages used by Fable bindings","fork":true,"url":"https://api.github.com/repos/MangelMaxime/Femto","forks_url":"https://api.github.com/repos/MangelMaxime/Femto/forks","keys_url":"https://api.github.com/repos/MangelMaxime/Femto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MangelMaxime/Femto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MangelMaxime/Femto/teams","hooks_url":"https://api.github.com/repos/MangelMaxime/Femto/hooks","issue_events_url":"https://api.github.com/repos/MangelMaxime/Femto/issues/events{/number}","events_url":"https://api.github.com/repos/MangelMaxime/Femto/events","assignees_url":"https://api.github.com/repos/MangelMaxime/Femto/assignees{/user}","branches_url":"https://api.github.com/repos/MangelMaxime/Femto/branches{/branch}","tags_url":"https://api.github.com/repos/MangelMaxime/Femto/tags","blobs_url":"https://api.github.com/repos/MangelMaxime/Femto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MangelMaxime/Femto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MangelMaxime/Femto/git/refs{/sha}","trees_url":"https://api.github.com/repos/MangelMaxime/Femto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MangelMaxime/Femto/statuses/{sha}","languages_url":"https://api.github.com/repos/MangelMaxime/Femto/languages","stargazers_url":"https://api.github.com/repos/MangelMaxime/Femto/stargazers","contributors_url":"https://api.github.com/repos/MangelMaxime/Femto/contributors","subscribers_url":"https://api.github.com/repos/MangelMaxime/Femto/subscribers","subscription_url":"https://api.github.com/repos/MangelMaxime/Femto/subscription","commits_url":"https://api.github.com/repos/MangelMaxime/Femto/commits{/sha}","git_commits_url":"https://api.github.com/repos/MangelMaxime/Femto/git/commits{/sha}","comments_url":"https://api.github.com/repos/MangelMaxime/Femto/comments{/number}","issue_comment_url":"https://api.github.com/repos/MangelMaxime/Femto/issues/comments{/number}","contents_url":"https://api.github.com/repos/MangelMaxime/Femto/contents/{+path}","compare_url":"https://api.github.com/repos/MangelMaxime/Femto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MangelMaxime/Femto/merges","archive_url":"https://api.github.com/repos/MangelMaxime/Femto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MangelMaxime/Femto/downloads","issues_url":"https://api.github.com/repos/MangelMaxime/Femto/issues{/number}","pulls_url":"https://api.github.com/repos/MangelMaxime/Femto/pulls{/number}","milestones_url":"https://api.github.com/repos/MangelMaxime/Femto/milestones{/number}","notifications_url":"https://api.github.com/repos/MangelMaxime/Femto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MangelMaxime/Femto/labels{/name}","releases_url":"https://api.github.com/repos/MangelMaxime/Femto/releases{/id}","deployments_url":"https://api.github.com/repos/MangelMaxime/Femto/deployments","created_at":"2019-06-21T12:00:55Z","updated_at":"2019-06-21T12:00:58Z","pushed_at":"2019-06-24T15:23:05Z","git_url":"git://github.com/MangelMaxime/Femto.git","ssh_url":"git@github.com:MangelMaxime/Femto.git","clone_url":"https://github.com/MangelMaxime/Femto.git","svn_url":"https://github.com/MangelMaxime/Femto","homepage":null,"size":46,"stargazers_count":0,"watchers_count":0,"language":"F#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Zaid-Ajaj:master","ref":"master","sha":"772813339fb01a342b34ba5f584f917e38d84657","user":{"login":"Zaid-Ajaj","id":13316248,"node_id":"MDQ6VXNlcjEzMzE2MjQ4","avatar_url":"https://avatars3.githubusercontent.com/u/13316248?v=4","gravatar_id":"","url":"https://api.github.com/users/Zaid-Ajaj","html_url":"https://github.com/Zaid-Ajaj","followers_url":"https://api.github.com/users/Zaid-Ajaj/followers","following_url":"https://api.github.com/users/Zaid-Ajaj/following{/other_user}","gists_url":"https://api.github.com/users/Zaid-Ajaj/gists{/gist_id}","starred_url":"https://api.github.com/users/Zaid-Ajaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zaid-Ajaj/subscriptions","organizations_url":"https://api.github.com/users/Zaid-Ajaj/orgs","repos_url":"https://api.github.com/users/Zaid-Ajaj/repos","events_url":"https://api.github.com/users/Zaid-Ajaj/events{/privacy}","received_events_url":"https://api.github.com/users/Zaid-Ajaj/received_events","type":"User","site_admin":false},"repo":{"id":193000998,"node_id":"MDEwOlJlcG9zaXRvcnkxOTMwMDA5OTg=","name":"Femto","full_name":"Zaid-Ajaj/Femto","private":false,"owner":{"login":"Zaid-Ajaj","id":13316248,"node_id":"MDQ6VXNlcjEzMzE2MjQ4","avatar_url":"https://avatars3.githubusercontent.com/u/13316248?v=4","gravatar_id":"","url":"https://api.github.com/users/Zaid-Ajaj","html_url":"https://github.com/Zaid-Ajaj","followers_url":"https://api.github.com/users/Zaid-Ajaj/followers","following_url":"https://api.github.com/users/Zaid-Ajaj/following{/other_user}","gists_url":"https://api.github.com/users/Zaid-Ajaj/gists{/gist_id}","starred_url":"https://api.github.com/users/Zaid-Ajaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zaid-Ajaj/subscriptions","organizations_url":"https://api.github.com/users/Zaid-Ajaj/orgs","repos_url":"https://api.github.com/users/Zaid-Ajaj/repos","events_url":"https://api.github.com/users/Zaid-Ajaj/events{/privacy}","received_events_url":"https://api.github.com/users/Zaid-Ajaj/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Zaid-Ajaj/Femto","description":"Femto is a CLI tool that manages npm packages used by Fable bindings","fork":false,"url":"https://api.github.com/repos/Zaid-Ajaj/Femto","forks_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/forks","keys_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/teams","hooks_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/hooks","issue_events_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/issues/events{/number}","events_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/events","assignees_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/assignees{/user}","branches_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/branches{/branch}","tags_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/tags","blobs_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/statuses/{sha}","languages_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/languages","stargazers_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/stargazers","contributors_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/contributors","subscribers_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/subscribers","subscription_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/subscription","commits_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/issues/comments{/number}","contents_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/contents/{+path}","compare_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/merges","archive_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/downloads","issues_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/issues{/number}","pulls_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/pulls{/number}","milestones_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/milestones{/number}","notifications_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/labels{/name}","releases_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/releases{/id}","deployments_url":"https://api.github.com/repos/Zaid-Ajaj/Femto/deployments","created_at":"2019-06-20T23:52:32Z","updated_at":"2019-06-24T13:19:49Z","pushed_at":"2019-06-24T15:24:40Z","git_url":"git://github.com/Zaid-Ajaj/Femto.git","ssh_url":"git@github.com:Zaid-Ajaj/Femto.git","clone_url":"https://github.com/Zaid-Ajaj/Femto.git","svn_url":"https://github.com/Zaid-Ajaj/Femto","homepage":"","size":88,"stargazers_count":3,"watchers_count":3,"language":"F#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":7,"license":null,"forks":1,"open_issues":7,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Zaid-Ajaj/Femto/pulls/26"},"html":{"href":"https://github.com/Zaid-Ajaj/Femto/pull/26"},"issue":{"href":"https://api.github.com/repos/Zaid-Ajaj/Femto/issues/26"},"comments":{"href":"https://api.github.com/repos/Zaid-Ajaj/Femto/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/Zaid-Ajaj/Femto/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/Zaid-Ajaj/Femto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Zaid-Ajaj/Femto/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/Zaid-Ajaj/Femto/statuses/1850a155de0ca4256a016136cfdbc865ae065495"}},"author_association":"NONE"}}
other: {"actor":{"display_login":"Zaid-Ajaj"}}