{"action":"created","comment":{"url":"https://api.github.com/repos/DocRaptor/docraptor-cli/pulls/comments/70328496","id":70328496,"diff_hunk":"@@ -53,6 +53,14 @@ opt_parser = OptionParser.new do |opts|\n     options[:async] = async\n   end\n \n+  opts.on(\"--callback_url url\", \"Set a callback URL to be notified upon success. Defaults to naught\") do |callback_url|\n+    # callback_url can be used for local testing. You need three consoles:\n+    #   nc -lk 9001                                                       # listen on port 9001 for any data\n+    #   ngrok http 9001                                                   # setup external URL; port from nc session\n+    #   bin/docraptor content --callback_url \"http://1111111111.ngrok.io\" # copied url from the ngrok session","path":"bin/docraptor","position":null,"original_position":8,"commit_id":"b0d634059459cf4d0e62900f043e6b4195fd7322","original_commit_id":"61c568ee6f8acc792eacce93b374ecb5596f576f","user":{"login":"janxious","id":50124,"avatar_url":"https://avatars.githubusercontent.com/u/50124?v=3","gravatar_id":"","url":"https://api.github.com/users/janxious","html_url":"https://github.com/janxious","followers_url":"https://api.github.com/users/janxious/followers","following_url":"https://api.github.com/users/janxious/following{/other_user}","gists_url":"https://api.github.com/users/janxious/gists{/gist_id}","starred_url":"https://api.github.com/users/janxious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janxious/subscriptions","organizations_url":"https://api.github.com/users/janxious/orgs","repos_url":"https://api.github.com/users/janxious/repos","events_url":"https://api.github.com/users/janxious/events{/privacy}","received_events_url":"https://api.github.com/users/janxious/received_events","type":"User","site_admin":false},"body":"Do we have a place for documenting this tool? It seems like too much information for the command line output from `--help`/`--usage`","created_at":"2016-07-11T20:17:38Z","updated_at":"2016-07-11T20:17:38Z","html_url":"https://github.com/DocRaptor/docraptor-cli/pull/3#discussion_r70328496","pull_request_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/DocRaptor/docraptor-cli/pulls/comments/70328496"},"html":{"href":"https://github.com/DocRaptor/docraptor-cli/pull/3#discussion_r70328496"},"pull_request":{"href":"https://api.github.com/repos/DocRaptor/docraptor-cli/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/DocRaptor/docraptor-cli/pulls/3","id":77015487,"html_url":"https://github.com/DocRaptor/docraptor-cli/pull/3","diff_url":"https://github.com/DocRaptor/docraptor-cli/pull/3.diff","patch_url":"https://github.com/DocRaptor/docraptor-cli/pull/3.patch","issue_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/issues/3","number":3,"state":"open","locked":false,"title":"Add callback_url option","user":{"login":"janxious","id":50124,"avatar_url":"https://avatars.githubusercontent.com/u/50124?v=3","gravatar_id":"","url":"https://api.github.com/users/janxious","html_url":"https://github.com/janxious","followers_url":"https://api.github.com/users/janxious/followers","following_url":"https://api.github.com/users/janxious/following{/other_user}","gists_url":"https://api.github.com/users/janxious/gists{/gist_id}","starred_url":"https://api.github.com/users/janxious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janxious/subscriptions","organizations_url":"https://api.github.com/users/janxious/orgs","repos_url":"https://api.github.com/users/janxious/repos","events_url":"https://api.github.com/users/janxious/events{/privacy}","received_events_url":"https://api.github.com/users/janxious/received_events","type":"User","site_admin":false},"body":"More control over the async lifecycle for CLI users and testing. Hand tested with ngrok + nc.","created_at":"2016-07-11T20:14:18Z","updated_at":"2016-07-11T20:17:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5dfd629c610df98a3c4ff985e15b8d22502e7c37","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/pulls/3/commits","review_comments_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/pulls/3/comments","review_comment_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/issues/3/comments","statuses_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/statuses/b0d634059459cf4d0e62900f043e6b4195fd7322","head":{"label":"DocRaptor:callback_url","ref":"callback_url","sha":"b0d634059459cf4d0e62900f043e6b4195fd7322","user":{"login":"DocRaptor","id":12865219,"avatar_url":"https://avatars.githubusercontent.com/u/12865219?v=3","gravatar_id":"","url":"https://api.github.com/users/DocRaptor","html_url":"https://github.com/DocRaptor","followers_url":"https://api.github.com/users/DocRaptor/followers","following_url":"https://api.github.com/users/DocRaptor/following{/other_user}","gists_url":"https://api.github.com/users/DocRaptor/gists{/gist_id}","starred_url":"https://api.github.com/users/DocRaptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DocRaptor/subscriptions","organizations_url":"https://api.github.com/users/DocRaptor/orgs","repos_url":"https://api.github.com/users/DocRaptor/repos","events_url":"https://api.github.com/users/DocRaptor/events{/privacy}","received_events_url":"https://api.github.com/users/DocRaptor/received_events","type":"Organization","site_admin":false},"repo":{"id":55237713,"name":"docraptor-cli","full_name":"DocRaptor/docraptor-cli","owner":{"login":"DocRaptor","id":12865219,"avatar_url":"https://avatars.githubusercontent.com/u/12865219?v=3","gravatar_id":"","url":"https://api.github.com/users/DocRaptor","html_url":"https://github.com/DocRaptor","followers_url":"https://api.github.com/users/DocRaptor/followers","following_url":"https://api.github.com/users/DocRaptor/following{/other_user}","gists_url":"https://api.github.com/users/DocRaptor/gists{/gist_id}","starred_url":"https://api.github.com/users/DocRaptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DocRaptor/subscriptions","organizations_url":"https://api.github.com/users/DocRaptor/orgs","repos_url":"https://api.github.com/users/DocRaptor/repos","events_url":"https://api.github.com/users/DocRaptor/events{/privacy}","received_events_url":"https://api.github.com/users/DocRaptor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DocRaptor/docraptor-cli","description":"Command line interface to DocRaptor HTML to PDF/XLS service","fork":false,"url":"https://api.github.com/repos/DocRaptor/docraptor-cli","forks_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/forks","keys_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/teams","hooks_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/hooks","issue_events_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/issues/events{/number}","events_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/events","assignees_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/assignees{/user}","branches_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/branches{/branch}","tags_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/tags","blobs_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/languages","stargazers_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/stargazers","contributors_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/contributors","subscribers_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/subscribers","subscription_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/subscription","commits_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/contents/{+path}","compare_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/merges","archive_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/downloads","issues_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/issues{/number}","pulls_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/labels{/name}","releases_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/releases{/id}","deployments_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/deployments","created_at":"2016-04-01T14:19:01Z","updated_at":"2016-04-01T14:33:08Z","pushed_at":"2016-07-11T20:16:40Z","git_url":"git://github.com/DocRaptor/docraptor-cli.git","ssh_url":"git@github.com:DocRaptor/docraptor-cli.git","clone_url":"https://github.com/DocRaptor/docraptor-cli.git","svn_url":"https://github.com/DocRaptor/docraptor-cli","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"DocRaptor:master","ref":"master","sha":"3ff29ba7316dc9f3869362c6f0a357849a411ef1","user":{"login":"DocRaptor","id":12865219,"avatar_url":"https://avatars.githubusercontent.com/u/12865219?v=3","gravatar_id":"","url":"https://api.github.com/users/DocRaptor","html_url":"https://github.com/DocRaptor","followers_url":"https://api.github.com/users/DocRaptor/followers","following_url":"https://api.github.com/users/DocRaptor/following{/other_user}","gists_url":"https://api.github.com/users/DocRaptor/gists{/gist_id}","starred_url":"https://api.github.com/users/DocRaptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DocRaptor/subscriptions","organizations_url":"https://api.github.com/users/DocRaptor/orgs","repos_url":"https://api.github.com/users/DocRaptor/repos","events_url":"https://api.github.com/users/DocRaptor/events{/privacy}","received_events_url":"https://api.github.com/users/DocRaptor/received_events","type":"Organization","site_admin":false},"repo":{"id":55237713,"name":"docraptor-cli","full_name":"DocRaptor/docraptor-cli","owner":{"login":"DocRaptor","id":12865219,"avatar_url":"https://avatars.githubusercontent.com/u/12865219?v=3","gravatar_id":"","url":"https://api.github.com/users/DocRaptor","html_url":"https://github.com/DocRaptor","followers_url":"https://api.github.com/users/DocRaptor/followers","following_url":"https://api.github.com/users/DocRaptor/following{/other_user}","gists_url":"https://api.github.com/users/DocRaptor/gists{/gist_id}","starred_url":"https://api.github.com/users/DocRaptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DocRaptor/subscriptions","organizations_url":"https://api.github.com/users/DocRaptor/orgs","repos_url":"https://api.github.com/users/DocRaptor/repos","events_url":"https://api.github.com/users/DocRaptor/events{/privacy}","received_events_url":"https://api.github.com/users/DocRaptor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DocRaptor/docraptor-cli","description":"Command line interface to DocRaptor HTML to PDF/XLS service","fork":false,"url":"https://api.github.com/repos/DocRaptor/docraptor-cli","forks_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/forks","keys_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/teams","hooks_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/hooks","issue_events_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/issues/events{/number}","events_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/events","assignees_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/assignees{/user}","branches_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/branches{/branch}","tags_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/tags","blobs_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/languages","stargazers_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/stargazers","contributors_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/contributors","subscribers_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/subscribers","subscription_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/subscription","commits_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/contents/{+path}","compare_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/merges","archive_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/downloads","issues_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/issues{/number}","pulls_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/labels{/name}","releases_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/releases{/id}","deployments_url":"https://api.github.com/repos/DocRaptor/docraptor-cli/deployments","created_at":"2016-04-01T14:19:01Z","updated_at":"2016-04-01T14:33:08Z","pushed_at":"2016-07-11T20:16:40Z","git_url":"git://github.com/DocRaptor/docraptor-cli.git","ssh_url":"git@github.com:DocRaptor/docraptor-cli.git","clone_url":"https://github.com/DocRaptor/docraptor-cli.git","svn_url":"https://github.com/DocRaptor/docraptor-cli","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DocRaptor/docraptor-cli/pulls/3"},"html":{"href":"https://github.com/DocRaptor/docraptor-cli/pull/3"},"issue":{"href":"https://api.github.com/repos/DocRaptor/docraptor-cli/issues/3"},"comments":{"href":"https://api.github.com/repos/DocRaptor/docraptor-cli/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/DocRaptor/docraptor-cli/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/DocRaptor/docraptor-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DocRaptor/docraptor-cli/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/DocRaptor/docraptor-cli/statuses/b0d634059459cf4d0e62900f043e6b4195fd7322"}}}}
{"actor":{"display_login":"janxious"}}