{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/pulls/comments/53213214","id":53213214,"diff_hunk":"@@ -40,6 +41,17 @@ main(int argc, char **argv) {\n         po::options_description global_options(\"global options\");\n         global_options.add_options()\n                 (\"help,h\", \"produce help message\")\n+                (\"config,c\", po::value<string>()->default_value(\n+                    \"~/.puppetlabs/client-tools/puppetdb.conf\"),\n+                 \"path to use for cli configuration\")\n+                (\"urls\", po::value<string>()->default_value(\"\"),\n+                 \"urls, `http://foo:8080,http://bar:8080`, to use for puppetdb\")","path":"exe/puppet-db.cc","position":29,"original_position":29,"commit_id":"bab13b04aaaeae6f52285a25b057155b526edd0b","original_commit_id":"bab13b04aaaeae6f52285a25b057155b526edd0b","user":{"login":"kbarber","id":80595,"avatar_url":"https://avatars.githubusercontent.com/u/80595?v=3","gravatar_id":"","url":"https://api.github.com/users/kbarber","html_url":"https://github.com/kbarber","followers_url":"https://api.github.com/users/kbarber/followers","following_url":"https://api.github.com/users/kbarber/following{/other_user}","gists_url":"https://api.github.com/users/kbarber/gists{/gist_id}","starred_url":"https://api.github.com/users/kbarber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbarber/subscriptions","organizations_url":"https://api.github.com/users/kbarber/orgs","repos_url":"https://api.github.com/users/kbarber/repos","events_url":"https://api.github.com/users/kbarber/events{/privacy}","received_events_url":"https://api.github.com/users/kbarber/received_events","type":"User","site_admin":false},"body":"How about 'list of urls for connecting to puppetdb, urls can be comma separated. I don't know if we have a better place for examples :-).","created_at":"2016-02-17T19:02:53Z","updated_at":"2016-02-17T19:02:53Z","html_url":"https://github.com/puppetlabs/puppetdb-cli/pull/28#discussion_r53213214","pull_request_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetdb-cli/pulls/comments/53213214"},"html":{"href":"https://github.com/puppetlabs/puppetdb-cli/pull/28#discussion_r53213214"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/puppetdb-cli/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/pulls/28","id":59217503,"html_url":"https://github.com/puppetlabs/puppetdb-cli/pull/28","diff_url":"https://github.com/puppetlabs/puppetdb-cli/pull/28.diff","patch_url":"https://github.com/puppetlabs/puppetdb-cli/pull/28.patch","issue_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/issues/28","number":28,"state":"open","locked":false,"title":"(PDB-2387) Add config flags for SSL auth","user":{"login":"ajroetker","id":3198124,"avatar_url":"https://avatars.githubusercontent.com/u/3198124?v=3","gravatar_id":"","url":"https://api.github.com/users/ajroetker","html_url":"https://github.com/ajroetker","followers_url":"https://api.github.com/users/ajroetker/followers","following_url":"https://api.github.com/users/ajroetker/following{/other_user}","gists_url":"https://api.github.com/users/ajroetker/gists{/gist_id}","starred_url":"https://api.github.com/users/ajroetker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajroetker/subscriptions","organizations_url":"https://api.github.com/users/ajroetker/orgs","repos_url":"https://api.github.com/users/ajroetker/repos","events_url":"https://api.github.com/users/ajroetker/events{/privacy}","received_events_url":"https://api.github.com/users/ajroetker/received_events","type":"User","site_admin":false},"body":"This commit allows import and export arguments (specifically infile and\r\noutfile respectively) to be supplied positionally to at the command\r\nline. Whereas before a user would have needed to do\r\n\r\n```\r\n    puppet-db import --infile foo\r\n```\r\n\r\nThey may now do\r\n\r\n```\r\n    puppet-db import foo\r\n```\r\n\r\nThis PR also adds `--urls`, `--cacert/--cert/--key` flags to the global options for the CLI and now makes sure we parse `server_urls` when it's a string.","created_at":"2016-02-12T19:16:20Z","updated_at":"2016-02-17T19:02:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c9e38cb1a258eb10edbf7e2cabe26657f9c61ce","assignee":null,"milestone":{"url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/milestones/1","html_url":"https://github.com/puppetlabs/puppetdb-cli/milestones/0.1.0%20(master)","labels_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/milestones/1/labels","id":1455101,"number":1,"title":"0.1.0 (master)","description":"","creator":{"login":"kbarber","id":80595,"avatar_url":"https://avatars.githubusercontent.com/u/80595?v=3","gravatar_id":"","url":"https://api.github.com/users/kbarber","html_url":"https://github.com/kbarber","followers_url":"https://api.github.com/users/kbarber/followers","following_url":"https://api.github.com/users/kbarber/following{/other_user}","gists_url":"https://api.github.com/users/kbarber/gists{/gist_id}","starred_url":"https://api.github.com/users/kbarber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbarber/subscriptions","organizations_url":"https://api.github.com/users/kbarber/orgs","repos_url":"https://api.github.com/users/kbarber/repos","events_url":"https://api.github.com/users/kbarber/events{/privacy}","received_events_url":"https://api.github.com/users/kbarber/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":26,"state":"open","created_at":"2015-12-10T22:51:59Z","updated_at":"2016-02-16T17:03:24Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/pulls/28/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/pulls/28/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/issues/28/comments","statuses_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/statuses/bab13b04aaaeae6f52285a25b057155b526edd0b","head":{"label":"ajroetker:maint/allow_import_and_export_args_to_be_positional","ref":"maint/allow_import_and_export_args_to_be_positional","sha":"bab13b04aaaeae6f52285a25b057155b526edd0b","user":{"login":"ajroetker","id":3198124,"avatar_url":"https://avatars.githubusercontent.com/u/3198124?v=3","gravatar_id":"","url":"https://api.github.com/users/ajroetker","html_url":"https://github.com/ajroetker","followers_url":"https://api.github.com/users/ajroetker/followers","following_url":"https://api.github.com/users/ajroetker/following{/other_user}","gists_url":"https://api.github.com/users/ajroetker/gists{/gist_id}","starred_url":"https://api.github.com/users/ajroetker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajroetker/subscriptions","organizations_url":"https://api.github.com/users/ajroetker/orgs","repos_url":"https://api.github.com/users/ajroetker/repos","events_url":"https://api.github.com/users/ajroetker/events{/privacy}","received_events_url":"https://api.github.com/users/ajroetker/received_events","type":"User","site_admin":false},"repo":{"id":50388220,"name":"puppetdb-cli","full_name":"ajroetker/puppetdb-cli","owner":{"login":"ajroetker","id":3198124,"avatar_url":"https://avatars.githubusercontent.com/u/3198124?v=3","gravatar_id":"","url":"https://api.github.com/users/ajroetker","html_url":"https://github.com/ajroetker","followers_url":"https://api.github.com/users/ajroetker/followers","following_url":"https://api.github.com/users/ajroetker/following{/other_user}","gists_url":"https://api.github.com/users/ajroetker/gists{/gist_id}","starred_url":"https://api.github.com/users/ajroetker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajroetker/subscriptions","organizations_url":"https://api.github.com/users/ajroetker/orgs","repos_url":"https://api.github.com/users/ajroetker/repos","events_url":"https://api.github.com/users/ajroetker/events{/privacy}","received_events_url":"https://api.github.com/users/ajroetker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ajroetker/puppetdb-cli","description":"PuppetDB CLI Tooling","fork":true,"url":"https://api.github.com/repos/ajroetker/puppetdb-cli","forks_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/forks","keys_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/teams","hooks_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/hooks","issue_events_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/issues/events{/number}","events_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/events","assignees_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/assignees{/user}","branches_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/branches{/branch}","tags_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/tags","blobs_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/languages","stargazers_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/stargazers","contributors_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/contributors","subscribers_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/subscribers","subscription_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/subscription","commits_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/contents/{+path}","compare_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/merges","archive_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/downloads","issues_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/issues{/number}","pulls_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/labels{/name}","releases_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/releases{/id}","deployments_url":"https://api.github.com/repos/ajroetker/puppetdb-cli/deployments","created_at":"2016-01-25T23:21:47Z","updated_at":"2016-01-25T23:21:48Z","pushed_at":"2016-02-17T18:07:03Z","git_url":"git://github.com/ajroetker/puppetdb-cli.git","ssh_url":"git@github.com:ajroetker/puppetdb-cli.git","clone_url":"https://github.com/ajroetker/puppetdb-cli.git","svn_url":"https://github.com/ajroetker/puppetdb-cli","homepage":"","size":149,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"puppetlabs:master","ref":"master","sha":"9d66842d1929eb99497d22a584a628d1f4110555","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":46153164,"name":"puppetdb-cli","full_name":"puppetlabs/puppetdb-cli","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/puppetdb-cli","description":"PuppetDB CLI Tooling","fork":false,"url":"https://api.github.com/repos/puppetlabs/puppetdb-cli","forks_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/forks","keys_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/teams","hooks_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/events","assignees_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/tags","blobs_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/subscription","commits_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/merges","archive_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/downloads","issues_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/puppetdb-cli/deployments","created_at":"2015-11-13T23:44:41Z","updated_at":"2016-01-29T14:17:50Z","pushed_at":"2016-02-17T18:07:03Z","git_url":"git://github.com/puppetlabs/puppetdb-cli.git","ssh_url":"git@github.com:puppetlabs/puppetdb-cli.git","clone_url":"https://github.com/puppetlabs/puppetdb-cli.git","svn_url":"https://github.com/puppetlabs/puppetdb-cli","homepage":"","size":151,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/puppetdb-cli/pulls/28"},"html":{"href":"https://github.com/puppetlabs/puppetdb-cli/pull/28"},"issue":{"href":"https://api.github.com/repos/puppetlabs/puppetdb-cli/issues/28"},"comments":{"href":"https://api.github.com/repos/puppetlabs/puppetdb-cli/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/puppetdb-cli/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/puppetdb-cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/puppetdb-cli/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/puppetdb-cli/statuses/bab13b04aaaeae6f52285a25b057155b526edd0b"}}}}