{"action":"created","comment":{"url":"https://api.github.com/repos/elastic-coders/flipside-platform/pulls/comments/23126615","id":23126615,"diff_hunk":"@@ -16,18 +18,15 @@ def do_bootstrap(target, key_name=None):\n         # flipside_platform.aws.provision()\n     elif target == 'vagrant':\n         run('vagrant up --provision')\n-        print \"done\"\n \n \n def main():\n     import argparse\n     parser = argparse.ArgumentParser()\n-    parser.add_argument('target')\n-    parser.add_argument('keyname')\n+    parser.add_argument('--target', help='target machine (aws, vagrant)')\n+    parser.add_argument('--keyname', help='pem file name, must be in ./secret')","path":"flipside_platform/cmd/bootstrap.py","position":25,"original_position":25,"commit_id":"3bdcfc8129e3e93d35096fc33f5d74ec1419c39e","original_commit_id":"3bdcfc8129e3e93d35096fc33f5d74ec1419c39e","user":{"login":"mpaolini","id":523292,"avatar_url":"https://avatars.githubusercontent.com/u/523292?v=3","gravatar_id":"","url":"https://api.github.com/users/mpaolini","html_url":"https://github.com/mpaolini","followers_url":"https://api.github.com/users/mpaolini/followers","following_url":"https://api.github.com/users/mpaolini/following{/other_user}","gists_url":"https://api.github.com/users/mpaolini/gists{/gist_id}","starred_url":"https://api.github.com/users/mpaolini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpaolini/subscriptions","organizations_url":"https://api.github.com/users/mpaolini/orgs","repos_url":"https://api.github.com/users/mpaolini/repos","events_url":"https://api.github.com/users/mpaolini/events{/privacy}","received_events_url":"https://api.github.com/users/mpaolini/received_events","type":"User","site_admin":false},"body":"poi forse la keyname forse dovrebbe avere un default oppure deve essere obbligatora non so","created_at":"2015-01-17T17:05:23Z","updated_at":"2015-01-17T17:05:23Z","html_url":"https://github.com/elastic-coders/flipside-platform/pull/3#discussion_r23126615","pull_request_url":"https://api.github.com/repos/elastic-coders/flipside-platform/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/elastic-coders/flipside-platform/pulls/comments/23126615"},"html":{"href":"https://github.com/elastic-coders/flipside-platform/pull/3#discussion_r23126615"},"pull_request":{"href":"https://api.github.com/repos/elastic-coders/flipside-platform/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/elastic-coders/flipside-platform/pulls/3","id":27559027,"html_url":"https://github.com/elastic-coders/flipside-platform/pull/3","diff_url":"https://github.com/elastic-coders/flipside-platform/pull/3.diff","patch_url":"https://github.com/elastic-coders/flipside-platform/pull/3.patch","issue_url":"https://api.github.com/repos/elastic-coders/flipside-platform/issues/3","number":3,"state":"open","locked":false,"title":"FLIP-19 use options on bootstrap command and fix README","user":{"login":"essediweb","id":1202411,"avatar_url":"https://avatars.githubusercontent.com/u/1202411?v=3","gravatar_id":"","url":"https://api.github.com/users/essediweb","html_url":"https://github.com/essediweb","followers_url":"https://api.github.com/users/essediweb/followers","following_url":"https://api.github.com/users/essediweb/following{/other_user}","gists_url":"https://api.github.com/users/essediweb/gists{/gist_id}","starred_url":"https://api.github.com/users/essediweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/essediweb/subscriptions","organizations_url":"https://api.github.com/users/essediweb/orgs","repos_url":"https://api.github.com/users/essediweb/repos","events_url":"https://api.github.com/users/essediweb/events{/privacy}","received_events_url":"https://api.github.com/users/essediweb/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-17T17:00:22Z","updated_at":"2015-01-17T17:05:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3fb6260b7d70a0d007eb618778b53e24150a3e67","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elastic-coders/flipside-platform/pulls/3/commits","review_comments_url":"https://api.github.com/repos/elastic-coders/flipside-platform/pulls/3/comments","review_comment_url":"https://api.github.com/repos/elastic-coders/flipside-platform/pulls/comments/{number}","comments_url":"https://api.github.com/repos/elastic-coders/flipside-platform/issues/3/comments","statuses_url":"https://api.github.com/repos/elastic-coders/flipside-platform/statuses/3bdcfc8129e3e93d35096fc33f5d74ec1419c39e","head":{"label":"elastic-coders:fix/bootstrap_platform_2","ref":"fix/bootstrap_platform_2","sha":"3bdcfc8129e3e93d35096fc33f5d74ec1419c39e","user":{"login":"elastic-coders","id":7482338,"avatar_url":"https://avatars.githubusercontent.com/u/7482338?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic-coders","html_url":"https://github.com/elastic-coders","followers_url":"https://api.github.com/users/elastic-coders/followers","following_url":"https://api.github.com/users/elastic-coders/following{/other_user}","gists_url":"https://api.github.com/users/elastic-coders/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic-coders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic-coders/subscriptions","organizations_url":"https://api.github.com/users/elastic-coders/orgs","repos_url":"https://api.github.com/users/elastic-coders/repos","events_url":"https://api.github.com/users/elastic-coders/events{/privacy}","received_events_url":"https://api.github.com/users/elastic-coders/received_events","type":"Organization","site_admin":false},"repo":{"id":27811469,"name":"flipside-platform","full_name":"elastic-coders/flipside-platform","owner":{"login":"elastic-coders","id":7482338,"avatar_url":"https://avatars.githubusercontent.com/u/7482338?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic-coders","html_url":"https://github.com/elastic-coders","followers_url":"https://api.github.com/users/elastic-coders/followers","following_url":"https://api.github.com/users/elastic-coders/following{/other_user}","gists_url":"https://api.github.com/users/elastic-coders/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic-coders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic-coders/subscriptions","organizations_url":"https://api.github.com/users/elastic-coders/orgs","repos_url":"https://api.github.com/users/elastic-coders/repos","events_url":"https://api.github.com/users/elastic-coders/events{/privacy}","received_events_url":"https://api.github.com/users/elastic-coders/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic-coders/flipside-platform","description":"","fork":false,"url":"https://api.github.com/repos/elastic-coders/flipside-platform","forks_url":"https://api.github.com/repos/elastic-coders/flipside-platform/forks","keys_url":"https://api.github.com/repos/elastic-coders/flipside-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic-coders/flipside-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic-coders/flipside-platform/teams","hooks_url":"https://api.github.com/repos/elastic-coders/flipside-platform/hooks","issue_events_url":"https://api.github.com/repos/elastic-coders/flipside-platform/issues/events{/number}","events_url":"https://api.github.com/repos/elastic-coders/flipside-platform/events","assignees_url":"https://api.github.com/repos/elastic-coders/flipside-platform/assignees{/user}","branches_url":"https://api.github.com/repos/elastic-coders/flipside-platform/branches{/branch}","tags_url":"https://api.github.com/repos/elastic-coders/flipside-platform/tags","blobs_url":"https://api.github.com/repos/elastic-coders/flipside-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic-coders/flipside-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic-coders/flipside-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic-coders/flipside-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic-coders/flipside-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic-coders/flipside-platform/languages","stargazers_url":"https://api.github.com/repos/elastic-coders/flipside-platform/stargazers","contributors_url":"https://api.github.com/repos/elastic-coders/flipside-platform/contributors","subscribers_url":"https://api.github.com/repos/elastic-coders/flipside-platform/subscribers","subscription_url":"https://api.github.com/repos/elastic-coders/flipside-platform/subscription","commits_url":"https://api.github.com/repos/elastic-coders/flipside-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic-coders/flipside-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic-coders/flipside-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic-coders/flipside-platform/issues/comments/{number}","contents_url":"https://api.github.com/repos/elastic-coders/flipside-platform/contents/{+path}","compare_url":"https://api.github.com/repos/elastic-coders/flipside-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic-coders/flipside-platform/merges","archive_url":"https://api.github.com/repos/elastic-coders/flipside-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic-coders/flipside-platform/downloads","issues_url":"https://api.github.com/repos/elastic-coders/flipside-platform/issues{/number}","pulls_url":"https://api.github.com/repos/elastic-coders/flipside-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic-coders/flipside-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic-coders/flipside-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic-coders/flipside-platform/labels{/name}","releases_url":"https://api.github.com/repos/elastic-coders/flipside-platform/releases{/id}","created_at":"2014-12-10T09:16:14Z","updated_at":"2014-12-10T09:16:14Z","pushed_at":"2015-01-17T16:58:52Z","git_url":"git://github.com/elastic-coders/flipside-platform.git","ssh_url":"git@github.com:elastic-coders/flipside-platform.git","clone_url":"https://github.com/elastic-coders/flipside-platform.git","svn_url":"https://github.com/elastic-coders/flipside-platform","homepage":null,"size":180,"stargazers_count":0,"watchers_count":0,"language":null,"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":"elastic-coders:develop","ref":"develop","sha":"983fb2872c227fbe01fbddc2826efa87f3b0a25e","user":{"login":"elastic-coders","id":7482338,"avatar_url":"https://avatars.githubusercontent.com/u/7482338?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic-coders","html_url":"https://github.com/elastic-coders","followers_url":"https://api.github.com/users/elastic-coders/followers","following_url":"https://api.github.com/users/elastic-coders/following{/other_user}","gists_url":"https://api.github.com/users/elastic-coders/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic-coders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic-coders/subscriptions","organizations_url":"https://api.github.com/users/elastic-coders/orgs","repos_url":"https://api.github.com/users/elastic-coders/repos","events_url":"https://api.github.com/users/elastic-coders/events{/privacy}","received_events_url":"https://api.github.com/users/elastic-coders/received_events","type":"Organization","site_admin":false},"repo":{"id":27811469,"name":"flipside-platform","full_name":"elastic-coders/flipside-platform","owner":{"login":"elastic-coders","id":7482338,"avatar_url":"https://avatars.githubusercontent.com/u/7482338?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic-coders","html_url":"https://github.com/elastic-coders","followers_url":"https://api.github.com/users/elastic-coders/followers","following_url":"https://api.github.com/users/elastic-coders/following{/other_user}","gists_url":"https://api.github.com/users/elastic-coders/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic-coders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic-coders/subscriptions","organizations_url":"https://api.github.com/users/elastic-coders/orgs","repos_url":"https://api.github.com/users/elastic-coders/repos","events_url":"https://api.github.com/users/elastic-coders/events{/privacy}","received_events_url":"https://api.github.com/users/elastic-coders/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic-coders/flipside-platform","description":"","fork":false,"url":"https://api.github.com/repos/elastic-coders/flipside-platform","forks_url":"https://api.github.com/repos/elastic-coders/flipside-platform/forks","keys_url":"https://api.github.com/repos/elastic-coders/flipside-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic-coders/flipside-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic-coders/flipside-platform/teams","hooks_url":"https://api.github.com/repos/elastic-coders/flipside-platform/hooks","issue_events_url":"https://api.github.com/repos/elastic-coders/flipside-platform/issues/events{/number}","events_url":"https://api.github.com/repos/elastic-coders/flipside-platform/events","assignees_url":"https://api.github.com/repos/elastic-coders/flipside-platform/assignees{/user}","branches_url":"https://api.github.com/repos/elastic-coders/flipside-platform/branches{/branch}","tags_url":"https://api.github.com/repos/elastic-coders/flipside-platform/tags","blobs_url":"https://api.github.com/repos/elastic-coders/flipside-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic-coders/flipside-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic-coders/flipside-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic-coders/flipside-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic-coders/flipside-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic-coders/flipside-platform/languages","stargazers_url":"https://api.github.com/repos/elastic-coders/flipside-platform/stargazers","contributors_url":"https://api.github.com/repos/elastic-coders/flipside-platform/contributors","subscribers_url":"https://api.github.com/repos/elastic-coders/flipside-platform/subscribers","subscription_url":"https://api.github.com/repos/elastic-coders/flipside-platform/subscription","commits_url":"https://api.github.com/repos/elastic-coders/flipside-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic-coders/flipside-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic-coders/flipside-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic-coders/flipside-platform/issues/comments/{number}","contents_url":"https://api.github.com/repos/elastic-coders/flipside-platform/contents/{+path}","compare_url":"https://api.github.com/repos/elastic-coders/flipside-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic-coders/flipside-platform/merges","archive_url":"https://api.github.com/repos/elastic-coders/flipside-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic-coders/flipside-platform/downloads","issues_url":"https://api.github.com/repos/elastic-coders/flipside-platform/issues{/number}","pulls_url":"https://api.github.com/repos/elastic-coders/flipside-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic-coders/flipside-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic-coders/flipside-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic-coders/flipside-platform/labels{/name}","releases_url":"https://api.github.com/repos/elastic-coders/flipside-platform/releases{/id}","created_at":"2014-12-10T09:16:14Z","updated_at":"2014-12-10T09:16:14Z","pushed_at":"2015-01-17T16:58:52Z","git_url":"git://github.com/elastic-coders/flipside-platform.git","ssh_url":"git@github.com:elastic-coders/flipside-platform.git","clone_url":"https://github.com/elastic-coders/flipside-platform.git","svn_url":"https://github.com/elastic-coders/flipside-platform","homepage":null,"size":180,"stargazers_count":0,"watchers_count":0,"language":null,"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/elastic-coders/flipside-platform/pulls/3"},"html":{"href":"https://github.com/elastic-coders/flipside-platform/pull/3"},"issue":{"href":"https://api.github.com/repos/elastic-coders/flipside-platform/issues/3"},"comments":{"href":"https://api.github.com/repos/elastic-coders/flipside-platform/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic-coders/flipside-platform/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic-coders/flipside-platform/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/elastic-coders/flipside-platform/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/elastic-coders/flipside-platform/statuses/3bdcfc8129e3e93d35096fc33f5d74ec1419c39e"}}}}