{"action":"created","comment":{"url":"https://api.github.com/repos/oduwsdl/ipwb/pulls/comments/209308579","pull_request_review_id":145303544,"id":209308579,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTMwODU3OQ==","diff_hunk":"@@ -61,9 +61,10 @@ def checkArgs_replay(args):\n     if suppliedIndexParameter:\n         replay.start(cdxjFilePath=args.index, proxy=proxy)\n     else:\n-        # TODO: call replayParser.print_help()\n-        print('Please supply a CDXJ file as an argument.')\n-        sys.exit()\n+        print('ERROR: An index file must be specified if not piping, e.g.,')\n+        print('> ipwb replay /path/to/your/index.cdxj\\n')\n+\n+        args.onError()","path":"ipwb/__main__.py","position":10,"original_position":10,"commit_id":"80ad7f54f963f85b23437c7cdcbc9b86aede97bd","original_commit_id":"80ad7f54f963f85b23437c7cdcbc9b86aede97bd","user":{"login":"machawk1","id":2514780,"node_id":"MDQ6VXNlcjI1MTQ3ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/2514780?v=4","gravatar_id":"","url":"https://api.github.com/users/machawk1","html_url":"https://github.com/machawk1","followers_url":"https://api.github.com/users/machawk1/followers","following_url":"https://api.github.com/users/machawk1/following{/other_user}","gists_url":"https://api.github.com/users/machawk1/gists{/gist_id}","starred_url":"https://api.github.com/users/machawk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machawk1/subscriptions","organizations_url":"https://api.github.com/users/machawk1/orgs","repos_url":"https://api.github.com/users/machawk1/repos","events_url":"https://api.github.com/users/machawk1/events{/privacy}","received_events_url":"https://api.github.com/users/machawk1/received_events","type":"User","site_admin":false},"body":"@ibnesayeed No. When we had it before it was unnecessary. The program exits after the help function is called.","created_at":"2018-08-10T16:03:09Z","updated_at":"2018-08-10T16:03:10Z","html_url":"https://github.com/oduwsdl/ipwb/pull/491#discussion_r209308579","pull_request_url":"https://api.github.com/repos/oduwsdl/ipwb/pulls/491","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/oduwsdl/ipwb/pulls/comments/209308579"},"html":{"href":"https://github.com/oduwsdl/ipwb/pull/491#discussion_r209308579"},"pull_request":{"href":"https://api.github.com/repos/oduwsdl/ipwb/pulls/491"}},"in_reply_to_id":209308112},"pull_request":{"url":"https://api.github.com/repos/oduwsdl/ipwb/pulls/491","id":207654213,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3NjU0MjEz","html_url":"https://github.com/oduwsdl/ipwb/pull/491","diff_url":"https://github.com/oduwsdl/ipwb/pull/491.diff","patch_url":"https://github.com/oduwsdl/ipwb/pull/491.patch","issue_url":"https://api.github.com/repos/oduwsdl/ipwb/issues/491","number":491,"state":"open","locked":false,"title":"Show ipwb replay CLI help when no parameters passed and not piping","user":{"login":"machawk1","id":2514780,"node_id":"MDQ6VXNlcjI1MTQ3ODA=","avatar_url":"https://avatars0.githubusercontent.com/u/2514780?v=4","gravatar_id":"","url":"https://api.github.com/users/machawk1","html_url":"https://github.com/machawk1","followers_url":"https://api.github.com/users/machawk1/followers","following_url":"https://api.github.com/users/machawk1/following{/other_user}","gists_url":"https://api.github.com/users/machawk1/gists{/gist_id}","starred_url":"https://api.github.com/users/machawk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machawk1/subscriptions","organizations_url":"https://api.github.com/users/machawk1/orgs","repos_url":"https://api.github.com/users/machawk1/repos","events_url":"https://api.github.com/users/machawk1/events{/privacy}","received_events_url":"https://api.github.com/users/machawk1/received_events","type":"User","site_admin":false},"body":"@ibnesayeed I realized I could pass the replayParser's help function in kwargs then execute it in the place we previously simply printed an error then returned. Please have a look at the code.\r\n\r\n Fixes #478","created_at":"2018-08-10T15:54:55Z","updated_at":"2018-08-10T16:03:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99520e87df5fca6199f28202c4c99c185e3cc4aa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oduwsdl/ipwb/pulls/491/commits","review_comments_url":"https://api.github.com/repos/oduwsdl/ipwb/pulls/491/comments","review_comment_url":"https://api.github.com/repos/oduwsdl/ipwb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oduwsdl/ipwb/issues/491/comments","statuses_url":"https://api.github.com/repos/oduwsdl/ipwb/statuses/80ad7f54f963f85b23437c7cdcbc9b86aede97bd","head":{"label":"oduwsdl:issue-478","ref":"issue-478","sha":"80ad7f54f963f85b23437c7cdcbc9b86aede97bd","user":{"login":"oduwsdl","id":4416806,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTY4MDY=","avatar_url":"https://avatars0.githubusercontent.com/u/4416806?v=4","gravatar_id":"","url":"https://api.github.com/users/oduwsdl","html_url":"https://github.com/oduwsdl","followers_url":"https://api.github.com/users/oduwsdl/followers","following_url":"https://api.github.com/users/oduwsdl/following{/other_user}","gists_url":"https://api.github.com/users/oduwsdl/gists{/gist_id}","starred_url":"https://api.github.com/users/oduwsdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oduwsdl/subscriptions","organizations_url":"https://api.github.com/users/oduwsdl/orgs","repos_url":"https://api.github.com/users/oduwsdl/repos","events_url":"https://api.github.com/users/oduwsdl/events{/privacy}","received_events_url":"https://api.github.com/users/oduwsdl/received_events","type":"Organization","site_admin":false},"repo":{"id":53143022,"node_id":"MDEwOlJlcG9zaXRvcnk1MzE0MzAyMg==","name":"ipwb","full_name":"oduwsdl/ipwb","owner":{"login":"oduwsdl","id":4416806,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTY4MDY=","avatar_url":"https://avatars0.githubusercontent.com/u/4416806?v=4","gravatar_id":"","url":"https://api.github.com/users/oduwsdl","html_url":"https://github.com/oduwsdl","followers_url":"https://api.github.com/users/oduwsdl/followers","following_url":"https://api.github.com/users/oduwsdl/following{/other_user}","gists_url":"https://api.github.com/users/oduwsdl/gists{/gist_id}","starred_url":"https://api.github.com/users/oduwsdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oduwsdl/subscriptions","organizations_url":"https://api.github.com/users/oduwsdl/orgs","repos_url":"https://api.github.com/users/oduwsdl/repos","events_url":"https://api.github.com/users/oduwsdl/events{/privacy}","received_events_url":"https://api.github.com/users/oduwsdl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oduwsdl/ipwb","description":"InterPlanetary Wayback: A distributed and persistent archive replay system using IPFS","fork":false,"url":"https://api.github.com/repos/oduwsdl/ipwb","forks_url":"https://api.github.com/repos/oduwsdl/ipwb/forks","keys_url":"https://api.github.com/repos/oduwsdl/ipwb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oduwsdl/ipwb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oduwsdl/ipwb/teams","hooks_url":"https://api.github.com/repos/oduwsdl/ipwb/hooks","issue_events_url":"https://api.github.com/repos/oduwsdl/ipwb/issues/events{/number}","events_url":"https://api.github.com/repos/oduwsdl/ipwb/events","assignees_url":"https://api.github.com/repos/oduwsdl/ipwb/assignees{/user}","branches_url":"https://api.github.com/repos/oduwsdl/ipwb/branches{/branch}","tags_url":"https://api.github.com/repos/oduwsdl/ipwb/tags","blobs_url":"https://api.github.com/repos/oduwsdl/ipwb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oduwsdl/ipwb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oduwsdl/ipwb/git/refs{/sha}","trees_url":"https://api.github.com/repos/oduwsdl/ipwb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oduwsdl/ipwb/statuses/{sha}","languages_url":"https://api.github.com/repos/oduwsdl/ipwb/languages","stargazers_url":"https://api.github.com/repos/oduwsdl/ipwb/stargazers","contributors_url":"https://api.github.com/repos/oduwsdl/ipwb/contributors","subscribers_url":"https://api.github.com/repos/oduwsdl/ipwb/subscribers","subscription_url":"https://api.github.com/repos/oduwsdl/ipwb/subscription","commits_url":"https://api.github.com/repos/oduwsdl/ipwb/commits{/sha}","git_commits_url":"https://api.github.com/repos/oduwsdl/ipwb/git/commits{/sha}","comments_url":"https://api.github.com/repos/oduwsdl/ipwb/comments{/number}","issue_comment_url":"https://api.github.com/repos/oduwsdl/ipwb/issues/comments{/number}","contents_url":"https://api.github.com/repos/oduwsdl/ipwb/contents/{+path}","compare_url":"https://api.github.com/repos/oduwsdl/ipwb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oduwsdl/ipwb/merges","archive_url":"https://api.github.com/repos/oduwsdl/ipwb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oduwsdl/ipwb/downloads","issues_url":"https://api.github.com/repos/oduwsdl/ipwb/issues{/number}","pulls_url":"https://api.github.com/repos/oduwsdl/ipwb/pulls{/number}","milestones_url":"https://api.github.com/repos/oduwsdl/ipwb/milestones{/number}","notifications_url":"https://api.github.com/repos/oduwsdl/ipwb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oduwsdl/ipwb/labels{/name}","releases_url":"https://api.github.com/repos/oduwsdl/ipwb/releases{/id}","deployments_url":"https://api.github.com/repos/oduwsdl/ipwb/deployments","created_at":"2016-03-04T15:01:33Z","updated_at":"2018-08-10T02:51:19Z","pushed_at":"2018-08-10T15:54:56Z","git_url":"git://github.com/oduwsdl/ipwb.git","ssh_url":"git@github.com:oduwsdl/ipwb.git","clone_url":"https://github.com/oduwsdl/ipwb.git","svn_url":"https://github.com/oduwsdl/ipwb","homepage":"","size":5340,"stargazers_count":152,"watchers_count":152,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":123,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":13,"open_issues":123,"watchers":152,"default_branch":"master"}},"base":{"label":"oduwsdl:master","ref":"master","sha":"8d90351ee9a65bac4a19cab622d0395e4d86ff19","user":{"login":"oduwsdl","id":4416806,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTY4MDY=","avatar_url":"https://avatars0.githubusercontent.com/u/4416806?v=4","gravatar_id":"","url":"https://api.github.com/users/oduwsdl","html_url":"https://github.com/oduwsdl","followers_url":"https://api.github.com/users/oduwsdl/followers","following_url":"https://api.github.com/users/oduwsdl/following{/other_user}","gists_url":"https://api.github.com/users/oduwsdl/gists{/gist_id}","starred_url":"https://api.github.com/users/oduwsdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oduwsdl/subscriptions","organizations_url":"https://api.github.com/users/oduwsdl/orgs","repos_url":"https://api.github.com/users/oduwsdl/repos","events_url":"https://api.github.com/users/oduwsdl/events{/privacy}","received_events_url":"https://api.github.com/users/oduwsdl/received_events","type":"Organization","site_admin":false},"repo":{"id":53143022,"node_id":"MDEwOlJlcG9zaXRvcnk1MzE0MzAyMg==","name":"ipwb","full_name":"oduwsdl/ipwb","owner":{"login":"oduwsdl","id":4416806,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTY4MDY=","avatar_url":"https://avatars0.githubusercontent.com/u/4416806?v=4","gravatar_id":"","url":"https://api.github.com/users/oduwsdl","html_url":"https://github.com/oduwsdl","followers_url":"https://api.github.com/users/oduwsdl/followers","following_url":"https://api.github.com/users/oduwsdl/following{/other_user}","gists_url":"https://api.github.com/users/oduwsdl/gists{/gist_id}","starred_url":"https://api.github.com/users/oduwsdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oduwsdl/subscriptions","organizations_url":"https://api.github.com/users/oduwsdl/orgs","repos_url":"https://api.github.com/users/oduwsdl/repos","events_url":"https://api.github.com/users/oduwsdl/events{/privacy}","received_events_url":"https://api.github.com/users/oduwsdl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oduwsdl/ipwb","description":"InterPlanetary Wayback: A distributed and persistent archive replay system using IPFS","fork":false,"url":"https://api.github.com/repos/oduwsdl/ipwb","forks_url":"https://api.github.com/repos/oduwsdl/ipwb/forks","keys_url":"https://api.github.com/repos/oduwsdl/ipwb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oduwsdl/ipwb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oduwsdl/ipwb/teams","hooks_url":"https://api.github.com/repos/oduwsdl/ipwb/hooks","issue_events_url":"https://api.github.com/repos/oduwsdl/ipwb/issues/events{/number}","events_url":"https://api.github.com/repos/oduwsdl/ipwb/events","assignees_url":"https://api.github.com/repos/oduwsdl/ipwb/assignees{/user}","branches_url":"https://api.github.com/repos/oduwsdl/ipwb/branches{/branch}","tags_url":"https://api.github.com/repos/oduwsdl/ipwb/tags","blobs_url":"https://api.github.com/repos/oduwsdl/ipwb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oduwsdl/ipwb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oduwsdl/ipwb/git/refs{/sha}","trees_url":"https://api.github.com/repos/oduwsdl/ipwb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oduwsdl/ipwb/statuses/{sha}","languages_url":"https://api.github.com/repos/oduwsdl/ipwb/languages","stargazers_url":"https://api.github.com/repos/oduwsdl/ipwb/stargazers","contributors_url":"https://api.github.com/repos/oduwsdl/ipwb/contributors","subscribers_url":"https://api.github.com/repos/oduwsdl/ipwb/subscribers","subscription_url":"https://api.github.com/repos/oduwsdl/ipwb/subscription","commits_url":"https://api.github.com/repos/oduwsdl/ipwb/commits{/sha}","git_commits_url":"https://api.github.com/repos/oduwsdl/ipwb/git/commits{/sha}","comments_url":"https://api.github.com/repos/oduwsdl/ipwb/comments{/number}","issue_comment_url":"https://api.github.com/repos/oduwsdl/ipwb/issues/comments{/number}","contents_url":"https://api.github.com/repos/oduwsdl/ipwb/contents/{+path}","compare_url":"https://api.github.com/repos/oduwsdl/ipwb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oduwsdl/ipwb/merges","archive_url":"https://api.github.com/repos/oduwsdl/ipwb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oduwsdl/ipwb/downloads","issues_url":"https://api.github.com/repos/oduwsdl/ipwb/issues{/number}","pulls_url":"https://api.github.com/repos/oduwsdl/ipwb/pulls{/number}","milestones_url":"https://api.github.com/repos/oduwsdl/ipwb/milestones{/number}","notifications_url":"https://api.github.com/repos/oduwsdl/ipwb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oduwsdl/ipwb/labels{/name}","releases_url":"https://api.github.com/repos/oduwsdl/ipwb/releases{/id}","deployments_url":"https://api.github.com/repos/oduwsdl/ipwb/deployments","created_at":"2016-03-04T15:01:33Z","updated_at":"2018-08-10T02:51:19Z","pushed_at":"2018-08-10T15:54:56Z","git_url":"git://github.com/oduwsdl/ipwb.git","ssh_url":"git@github.com:oduwsdl/ipwb.git","clone_url":"https://github.com/oduwsdl/ipwb.git","svn_url":"https://github.com/oduwsdl/ipwb","homepage":"","size":5340,"stargazers_count":152,"watchers_count":152,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":123,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":13,"open_issues":123,"watchers":152,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oduwsdl/ipwb/pulls/491"},"html":{"href":"https://github.com/oduwsdl/ipwb/pull/491"},"issue":{"href":"https://api.github.com/repos/oduwsdl/ipwb/issues/491"},"comments":{"href":"https://api.github.com/repos/oduwsdl/ipwb/issues/491/comments"},"review_comments":{"href":"https://api.github.com/repos/oduwsdl/ipwb/pulls/491/comments"},"review_comment":{"href":"https://api.github.com/repos/oduwsdl/ipwb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oduwsdl/ipwb/pulls/491/commits"},"statuses":{"href":"https://api.github.com/repos/oduwsdl/ipwb/statuses/80ad7f54f963f85b23437c7cdcbc9b86aede97bd"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"machawk1"}}