{"action":"created","comment":{"url":"https://api.github.com/repos/netromdk/slacker/pulls/comments/165855862","pull_request_review_id":93856240,"id":165855862,"diff_hunk":"@@ -52,6 +55,19 @@ def check():\n       sys.exit(-1)\n   slacker_logger.info('All good: {} valid commands'.format(reg.count()))\n \n+def build_prompt_completer():\n+  \"\"\" Build REPL completion dictionary \"\"\"","path":"slacker/main.py","position":15,"original_position":15,"commit_id":"333a660ec0257a330f7b6fb04798576ff7b3b10f","original_commit_id":"333a660ec0257a330f7b6fb04798576ff7b3b10f","user":{"login":"netromdk","id":5989057,"avatar_url":"https://avatars3.githubusercontent.com/u/5989057?v=4","gravatar_id":"","url":"https://api.github.com/users/netromdk","html_url":"https://github.com/netromdk","followers_url":"https://api.github.com/users/netromdk/followers","following_url":"https://api.github.com/users/netromdk/following{/other_user}","gists_url":"https://api.github.com/users/netromdk/gists{/gist_id}","starred_url":"https://api.github.com/users/netromdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netromdk/subscriptions","organizations_url":"https://api.github.com/users/netromdk/orgs","repos_url":"https://api.github.com/users/netromdk/repos","events_url":"https://api.github.com/users/netromdk/events{/privacy}","received_events_url":"https://api.github.com/users/netromdk/received_events","type":"User","site_admin":false},"body":"Is it a PEP8 thing with the spaces before and after? I saw it in the other lib also.","created_at":"2018-02-04T20:07:20Z","updated_at":"2018-02-04T20:09:43Z","html_url":"https://github.com/netromdk/slacker/pull/58#discussion_r165855862","pull_request_url":"https://api.github.com/repos/netromdk/slacker/pulls/58","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/netromdk/slacker/pulls/comments/165855862"},"html":{"href":"https://github.com/netromdk/slacker/pull/58#discussion_r165855862"},"pull_request":{"href":"https://api.github.com/repos/netromdk/slacker/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/netromdk/slacker/pulls/58","id":167026877,"html_url":"https://github.com/netromdk/slacker/pull/58","diff_url":"https://github.com/netromdk/slacker/pull/58.diff","patch_url":"https://github.com/netromdk/slacker/pull/58.patch","issue_url":"https://api.github.com/repos/netromdk/slacker/issues/58","number":58,"state":"open","locked":false,"title":"Setup prompt-toolkit for REPL","user":{"login":"voidpirate","id":1903318,"avatar_url":"https://avatars3.githubusercontent.com/u/1903318?v=4","gravatar_id":"","url":"https://api.github.com/users/voidpirate","html_url":"https://github.com/voidpirate","followers_url":"https://api.github.com/users/voidpirate/followers","following_url":"https://api.github.com/users/voidpirate/following{/other_user}","gists_url":"https://api.github.com/users/voidpirate/gists{/gist_id}","starred_url":"https://api.github.com/users/voidpirate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voidpirate/subscriptions","organizations_url":"https://api.github.com/users/voidpirate/orgs","repos_url":"https://api.github.com/users/voidpirate/repos","events_url":"https://api.github.com/users/voidpirate/events{/privacy}","received_events_url":"https://api.github.com/users/voidpirate/received_events","type":"User","site_admin":false},"body":"Fixes #55  .\r\n\r\nChanges proposed in this pull request:\r\nImproves the REPL to handle autocomplete, tab completion and history\r\n","created_at":"2018-02-04T20:00:37Z","updated_at":"2018-02-04T20:09:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf326218b36d6611ebe496c924514cc278bfe409","assignee":{"login":"netromdk","id":5989057,"avatar_url":"https://avatars3.githubusercontent.com/u/5989057?v=4","gravatar_id":"","url":"https://api.github.com/users/netromdk","html_url":"https://github.com/netromdk","followers_url":"https://api.github.com/users/netromdk/followers","following_url":"https://api.github.com/users/netromdk/following{/other_user}","gists_url":"https://api.github.com/users/netromdk/gists{/gist_id}","starred_url":"https://api.github.com/users/netromdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netromdk/subscriptions","organizations_url":"https://api.github.com/users/netromdk/orgs","repos_url":"https://api.github.com/users/netromdk/repos","events_url":"https://api.github.com/users/netromdk/events{/privacy}","received_events_url":"https://api.github.com/users/netromdk/received_events","type":"User","site_admin":false},"assignees":[{"login":"netromdk","id":5989057,"avatar_url":"https://avatars3.githubusercontent.com/u/5989057?v=4","gravatar_id":"","url":"https://api.github.com/users/netromdk","html_url":"https://github.com/netromdk","followers_url":"https://api.github.com/users/netromdk/followers","following_url":"https://api.github.com/users/netromdk/following{/other_user}","gists_url":"https://api.github.com/users/netromdk/gists{/gist_id}","starred_url":"https://api.github.com/users/netromdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netromdk/subscriptions","organizations_url":"https://api.github.com/users/netromdk/orgs","repos_url":"https://api.github.com/users/netromdk/repos","events_url":"https://api.github.com/users/netromdk/events{/privacy}","received_events_url":"https://api.github.com/users/netromdk/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"milestone":{"url":"https://api.github.com/repos/netromdk/slacker/milestones/2","html_url":"https://github.com/netromdk/slacker/milestone/2","labels_url":"https://api.github.com/repos/netromdk/slacker/milestones/2/labels","id":3087133,"number":2,"title":"v0.2","description":"","creator":{"login":"netromdk","id":5989057,"avatar_url":"https://avatars3.githubusercontent.com/u/5989057?v=4","gravatar_id":"","url":"https://api.github.com/users/netromdk","html_url":"https://github.com/netromdk","followers_url":"https://api.github.com/users/netromdk/followers","following_url":"https://api.github.com/users/netromdk/following{/other_user}","gists_url":"https://api.github.com/users/netromdk/gists{/gist_id}","starred_url":"https://api.github.com/users/netromdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netromdk/subscriptions","organizations_url":"https://api.github.com/users/netromdk/orgs","repos_url":"https://api.github.com/users/netromdk/repos","events_url":"https://api.github.com/users/netromdk/events{/privacy}","received_events_url":"https://api.github.com/users/netromdk/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":5,"state":"open","created_at":"2018-02-04T11:51:44Z","updated_at":"2018-02-04T20:04:02Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/netromdk/slacker/pulls/58/commits","review_comments_url":"https://api.github.com/repos/netromdk/slacker/pulls/58/comments","review_comment_url":"https://api.github.com/repos/netromdk/slacker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/netromdk/slacker/issues/58/comments","statuses_url":"https://api.github.com/repos/netromdk/slacker/statuses/333a660ec0257a330f7b6fb04798576ff7b3b10f","head":{"label":"netromdk:feature/prompt","ref":"feature/prompt","sha":"333a660ec0257a330f7b6fb04798576ff7b3b10f","user":{"login":"netromdk","id":5989057,"avatar_url":"https://avatars3.githubusercontent.com/u/5989057?v=4","gravatar_id":"","url":"https://api.github.com/users/netromdk","html_url":"https://github.com/netromdk","followers_url":"https://api.github.com/users/netromdk/followers","following_url":"https://api.github.com/users/netromdk/following{/other_user}","gists_url":"https://api.github.com/users/netromdk/gists{/gist_id}","starred_url":"https://api.github.com/users/netromdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netromdk/subscriptions","organizations_url":"https://api.github.com/users/netromdk/orgs","repos_url":"https://api.github.com/users/netromdk/repos","events_url":"https://api.github.com/users/netromdk/events{/privacy}","received_events_url":"https://api.github.com/users/netromdk/received_events","type":"User","site_admin":false},"repo":{"id":118806258,"name":"slacker","full_name":"netromdk/slacker","owner":{"login":"netromdk","id":5989057,"avatar_url":"https://avatars3.githubusercontent.com/u/5989057?v=4","gravatar_id":"","url":"https://api.github.com/users/netromdk","html_url":"https://github.com/netromdk","followers_url":"https://api.github.com/users/netromdk/followers","following_url":"https://api.github.com/users/netromdk/following{/other_user}","gists_url":"https://api.github.com/users/netromdk/gists{/gist_id}","starred_url":"https://api.github.com/users/netromdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netromdk/subscriptions","organizations_url":"https://api.github.com/users/netromdk/orgs","repos_url":"https://api.github.com/users/netromdk/repos","events_url":"https://api.github.com/users/netromdk/events{/privacy}","received_events_url":"https://api.github.com/users/netromdk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/netromdk/slacker","description":"Slacker - Easy access to the Slack API and admin of workspaces/teams.","fork":false,"url":"https://api.github.com/repos/netromdk/slacker","forks_url":"https://api.github.com/repos/netromdk/slacker/forks","keys_url":"https://api.github.com/repos/netromdk/slacker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netromdk/slacker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netromdk/slacker/teams","hooks_url":"https://api.github.com/repos/netromdk/slacker/hooks","issue_events_url":"https://api.github.com/repos/netromdk/slacker/issues/events{/number}","events_url":"https://api.github.com/repos/netromdk/slacker/events","assignees_url":"https://api.github.com/repos/netromdk/slacker/assignees{/user}","branches_url":"https://api.github.com/repos/netromdk/slacker/branches{/branch}","tags_url":"https://api.github.com/repos/netromdk/slacker/tags","blobs_url":"https://api.github.com/repos/netromdk/slacker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netromdk/slacker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netromdk/slacker/git/refs{/sha}","trees_url":"https://api.github.com/repos/netromdk/slacker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netromdk/slacker/statuses/{sha}","languages_url":"https://api.github.com/repos/netromdk/slacker/languages","stargazers_url":"https://api.github.com/repos/netromdk/slacker/stargazers","contributors_url":"https://api.github.com/repos/netromdk/slacker/contributors","subscribers_url":"https://api.github.com/repos/netromdk/slacker/subscribers","subscription_url":"https://api.github.com/repos/netromdk/slacker/subscription","commits_url":"https://api.github.com/repos/netromdk/slacker/commits{/sha}","git_commits_url":"https://api.github.com/repos/netromdk/slacker/git/commits{/sha}","comments_url":"https://api.github.com/repos/netromdk/slacker/comments{/number}","issue_comment_url":"https://api.github.com/repos/netromdk/slacker/issues/comments{/number}","contents_url":"https://api.github.com/repos/netromdk/slacker/contents/{+path}","compare_url":"https://api.github.com/repos/netromdk/slacker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netromdk/slacker/merges","archive_url":"https://api.github.com/repos/netromdk/slacker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netromdk/slacker/downloads","issues_url":"https://api.github.com/repos/netromdk/slacker/issues{/number}","pulls_url":"https://api.github.com/repos/netromdk/slacker/pulls{/number}","milestones_url":"https://api.github.com/repos/netromdk/slacker/milestones{/number}","notifications_url":"https://api.github.com/repos/netromdk/slacker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netromdk/slacker/labels{/name}","releases_url":"https://api.github.com/repos/netromdk/slacker/releases{/id}","deployments_url":"https://api.github.com/repos/netromdk/slacker/deployments","created_at":"2018-01-24T18:38:47Z","updated_at":"2018-02-04T17:57:37Z","pushed_at":"2018-02-04T20:00:38Z","git_url":"git://github.com/netromdk/slacker.git","ssh_url":"git@github.com:netromdk/slacker.git","clone_url":"https://github.com/netromdk/slacker.git","svn_url":"https://github.com/netromdk/slacker","homepage":"","size":65,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":11,"watchers":1,"default_branch":"master"}},"base":{"label":"netromdk:master","ref":"master","sha":"1014cb9843d47ceff5267fde4fe290d67a9eb6ec","user":{"login":"netromdk","id":5989057,"avatar_url":"https://avatars3.githubusercontent.com/u/5989057?v=4","gravatar_id":"","url":"https://api.github.com/users/netromdk","html_url":"https://github.com/netromdk","followers_url":"https://api.github.com/users/netromdk/followers","following_url":"https://api.github.com/users/netromdk/following{/other_user}","gists_url":"https://api.github.com/users/netromdk/gists{/gist_id}","starred_url":"https://api.github.com/users/netromdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netromdk/subscriptions","organizations_url":"https://api.github.com/users/netromdk/orgs","repos_url":"https://api.github.com/users/netromdk/repos","events_url":"https://api.github.com/users/netromdk/events{/privacy}","received_events_url":"https://api.github.com/users/netromdk/received_events","type":"User","site_admin":false},"repo":{"id":118806258,"name":"slacker","full_name":"netromdk/slacker","owner":{"login":"netromdk","id":5989057,"avatar_url":"https://avatars3.githubusercontent.com/u/5989057?v=4","gravatar_id":"","url":"https://api.github.com/users/netromdk","html_url":"https://github.com/netromdk","followers_url":"https://api.github.com/users/netromdk/followers","following_url":"https://api.github.com/users/netromdk/following{/other_user}","gists_url":"https://api.github.com/users/netromdk/gists{/gist_id}","starred_url":"https://api.github.com/users/netromdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netromdk/subscriptions","organizations_url":"https://api.github.com/users/netromdk/orgs","repos_url":"https://api.github.com/users/netromdk/repos","events_url":"https://api.github.com/users/netromdk/events{/privacy}","received_events_url":"https://api.github.com/users/netromdk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/netromdk/slacker","description":"Slacker - Easy access to the Slack API and admin of workspaces/teams.","fork":false,"url":"https://api.github.com/repos/netromdk/slacker","forks_url":"https://api.github.com/repos/netromdk/slacker/forks","keys_url":"https://api.github.com/repos/netromdk/slacker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netromdk/slacker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netromdk/slacker/teams","hooks_url":"https://api.github.com/repos/netromdk/slacker/hooks","issue_events_url":"https://api.github.com/repos/netromdk/slacker/issues/events{/number}","events_url":"https://api.github.com/repos/netromdk/slacker/events","assignees_url":"https://api.github.com/repos/netromdk/slacker/assignees{/user}","branches_url":"https://api.github.com/repos/netromdk/slacker/branches{/branch}","tags_url":"https://api.github.com/repos/netromdk/slacker/tags","blobs_url":"https://api.github.com/repos/netromdk/slacker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netromdk/slacker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netromdk/slacker/git/refs{/sha}","trees_url":"https://api.github.com/repos/netromdk/slacker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netromdk/slacker/statuses/{sha}","languages_url":"https://api.github.com/repos/netromdk/slacker/languages","stargazers_url":"https://api.github.com/repos/netromdk/slacker/stargazers","contributors_url":"https://api.github.com/repos/netromdk/slacker/contributors","subscribers_url":"https://api.github.com/repos/netromdk/slacker/subscribers","subscription_url":"https://api.github.com/repos/netromdk/slacker/subscription","commits_url":"https://api.github.com/repos/netromdk/slacker/commits{/sha}","git_commits_url":"https://api.github.com/repos/netromdk/slacker/git/commits{/sha}","comments_url":"https://api.github.com/repos/netromdk/slacker/comments{/number}","issue_comment_url":"https://api.github.com/repos/netromdk/slacker/issues/comments{/number}","contents_url":"https://api.github.com/repos/netromdk/slacker/contents/{+path}","compare_url":"https://api.github.com/repos/netromdk/slacker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netromdk/slacker/merges","archive_url":"https://api.github.com/repos/netromdk/slacker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netromdk/slacker/downloads","issues_url":"https://api.github.com/repos/netromdk/slacker/issues{/number}","pulls_url":"https://api.github.com/repos/netromdk/slacker/pulls{/number}","milestones_url":"https://api.github.com/repos/netromdk/slacker/milestones{/number}","notifications_url":"https://api.github.com/repos/netromdk/slacker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netromdk/slacker/labels{/name}","releases_url":"https://api.github.com/repos/netromdk/slacker/releases{/id}","deployments_url":"https://api.github.com/repos/netromdk/slacker/deployments","created_at":"2018-01-24T18:38:47Z","updated_at":"2018-02-04T17:57:37Z","pushed_at":"2018-02-04T20:00:38Z","git_url":"git://github.com/netromdk/slacker.git","ssh_url":"git@github.com:netromdk/slacker.git","clone_url":"https://github.com/netromdk/slacker.git","svn_url":"https://github.com/netromdk/slacker","homepage":"","size":65,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":11,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/netromdk/slacker/pulls/58"},"html":{"href":"https://github.com/netromdk/slacker/pull/58"},"issue":{"href":"https://api.github.com/repos/netromdk/slacker/issues/58"},"comments":{"href":"https://api.github.com/repos/netromdk/slacker/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/netromdk/slacker/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/netromdk/slacker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/netromdk/slacker/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/netromdk/slacker/statuses/333a660ec0257a330f7b6fb04798576ff7b3b10f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"netromdk"}}