{"action":"created","comment":{"url":"https://api.github.com/repos/zold-io/zold/pulls/comments/199353884","pull_request_review_id":133458481,"id":199353884,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTM1Mzg4NA==","diff_hunk":"@@ -0,0 +1,37 @@\n+require 'slop'\n+require 'rainbow'\n+require_relative 'args'\n+require_relative '../log'\n+\n+module Zold\n+  # Command to set an alias for wallet ID\n+  class Alias\n+    def initialize(wallets:, remotes:, log: Log::Quiet.new)\n+      @wallets = wallets\n+      @remotes = remotes\n+      @log = log\n+    end\n+\n+    def run(args = [])\n+      opts = Slop.parse(args, help: true, suppress_errors: true) do |o|\n+        o.banner = \"Usage: zold alias args\n+    #{Rainbow('alias set wallet alias').green}","path":"lib/zold/commands/alias.rb","position":18,"original_position":18,"commit_id":"47c8c28a905d68c7a4020a5a36f9be7a28b5d804","original_commit_id":"47c8c28a905d68c7a4020a5a36f9be7a28b5d804","user":{"login":"ledestin","id":1990075,"node_id":"MDQ6VXNlcjE5OTAwNzU=","avatar_url":"https://avatars2.githubusercontent.com/u/1990075?v=4","gravatar_id":"","url":"https://api.github.com/users/ledestin","html_url":"https://github.com/ledestin","followers_url":"https://api.github.com/users/ledestin/followers","following_url":"https://api.github.com/users/ledestin/following{/other_user}","gists_url":"https://api.github.com/users/ledestin/gists{/gist_id}","starred_url":"https://api.github.com/users/ledestin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledestin/subscriptions","organizations_url":"https://api.github.com/users/ledestin/orgs","repos_url":"https://api.github.com/users/ledestin/repos","events_url":"https://api.github.com/users/ledestin/events{/privacy}","received_events_url":"https://api.github.com/users/ledestin/received_events","type":"User","site_admin":false},"body":"@botanicus indentation is fucked up, it's better to use a here document.","created_at":"2018-07-01T16:07:57Z","updated_at":"2018-07-01T16:12:02Z","html_url":"https://github.com/zold-io/zold/pull/317#discussion_r199353884","pull_request_url":"https://api.github.com/repos/zold-io/zold/pulls/317","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/zold-io/zold/pulls/comments/199353884"},"html":{"href":"https://github.com/zold-io/zold/pull/317#discussion_r199353884"},"pull_request":{"href":"https://api.github.com/repos/zold-io/zold/pulls/317"}}},"pull_request":{"url":"https://api.github.com/repos/zold-io/zold/pulls/317","id":198478935,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NDc4OTM1","html_url":"https://github.com/zold-io/zold/pull/317","diff_url":"https://github.com/zold-io/zold/pull/317.diff","patch_url":"https://github.com/zold-io/zold/pull/317.patch","issue_url":"https://api.github.com/repos/zold-io/zold/issues/317","number":317,"state":"open","locked":false,"title":"Skeleton for the alias command","user":{"login":"botanicus","id":6171,"node_id":"MDQ6VXNlcjYxNzE=","avatar_url":"https://avatars2.githubusercontent.com/u/6171?v=4","gravatar_id":"","url":"https://api.github.com/users/botanicus","html_url":"https://github.com/botanicus","followers_url":"https://api.github.com/users/botanicus/followers","following_url":"https://api.github.com/users/botanicus/following{/other_user}","gists_url":"https://api.github.com/users/botanicus/gists{/gist_id}","starred_url":"https://api.github.com/users/botanicus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botanicus/subscriptions","organizations_url":"https://api.github.com/users/botanicus/orgs","repos_url":"https://api.github.com/users/botanicus/repos","events_url":"https://api.github.com/users/botanicus/events{/privacy}","received_events_url":"https://api.github.com/users/botanicus/received_events","type":"User","site_admin":false},"body":"This creates skeleton for the `alias` command as described in #279.","created_at":"2018-06-30T14:21:28Z","updated_at":"2018-07-01T16:12:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e78b0080d421caadbecc621653370d4f8bbd4ef","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":937984717,"node_id":"MDU6TGFiZWw5Mzc5ODQ3MTc=","url":"https://api.github.com/repos/zold-io/zold/labels/scope","name":"scope","color":"3a6622","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/zold-io/zold/pulls/317/commits","review_comments_url":"https://api.github.com/repos/zold-io/zold/pulls/317/comments","review_comment_url":"https://api.github.com/repos/zold-io/zold/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zold-io/zold/issues/317/comments","statuses_url":"https://api.github.com/repos/zold-io/zold/statuses/47c8c28a905d68c7a4020a5a36f9be7a28b5d804","head":{"label":"botanicus:issue-279","ref":"issue-279","sha":"47c8c28a905d68c7a4020a5a36f9be7a28b5d804","user":{"login":"botanicus","id":6171,"node_id":"MDQ6VXNlcjYxNzE=","avatar_url":"https://avatars2.githubusercontent.com/u/6171?v=4","gravatar_id":"","url":"https://api.github.com/users/botanicus","html_url":"https://github.com/botanicus","followers_url":"https://api.github.com/users/botanicus/followers","following_url":"https://api.github.com/users/botanicus/following{/other_user}","gists_url":"https://api.github.com/users/botanicus/gists{/gist_id}","starred_url":"https://api.github.com/users/botanicus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botanicus/subscriptions","organizations_url":"https://api.github.com/users/botanicus/orgs","repos_url":"https://api.github.com/users/botanicus/repos","events_url":"https://api.github.com/users/botanicus/events{/privacy}","received_events_url":"https://api.github.com/users/botanicus/received_events","type":"User","site_admin":false},"repo":{"id":138692346,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg2OTIzNDY=","name":"zold","full_name":"botanicus/zold","owner":{"login":"botanicus","id":6171,"node_id":"MDQ6VXNlcjYxNzE=","avatar_url":"https://avatars2.githubusercontent.com/u/6171?v=4","gravatar_id":"","url":"https://api.github.com/users/botanicus","html_url":"https://github.com/botanicus","followers_url":"https://api.github.com/users/botanicus/followers","following_url":"https://api.github.com/users/botanicus/following{/other_user}","gists_url":"https://api.github.com/users/botanicus/gists{/gist_id}","starred_url":"https://api.github.com/users/botanicus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botanicus/subscriptions","organizations_url":"https://api.github.com/users/botanicus/orgs","repos_url":"https://api.github.com/users/botanicus/repos","events_url":"https://api.github.com/users/botanicus/events{/privacy}","received_events_url":"https://api.github.com/users/botanicus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/botanicus/zold","description":"A Fast Cryptocurrency for Micro Payments","fork":true,"url":"https://api.github.com/repos/botanicus/zold","forks_url":"https://api.github.com/repos/botanicus/zold/forks","keys_url":"https://api.github.com/repos/botanicus/zold/keys{/key_id}","collaborators_url":"https://api.github.com/repos/botanicus/zold/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/botanicus/zold/teams","hooks_url":"https://api.github.com/repos/botanicus/zold/hooks","issue_events_url":"https://api.github.com/repos/botanicus/zold/issues/events{/number}","events_url":"https://api.github.com/repos/botanicus/zold/events","assignees_url":"https://api.github.com/repos/botanicus/zold/assignees{/user}","branches_url":"https://api.github.com/repos/botanicus/zold/branches{/branch}","tags_url":"https://api.github.com/repos/botanicus/zold/tags","blobs_url":"https://api.github.com/repos/botanicus/zold/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/botanicus/zold/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/botanicus/zold/git/refs{/sha}","trees_url":"https://api.github.com/repos/botanicus/zold/git/trees{/sha}","statuses_url":"https://api.github.com/repos/botanicus/zold/statuses/{sha}","languages_url":"https://api.github.com/repos/botanicus/zold/languages","stargazers_url":"https://api.github.com/repos/botanicus/zold/stargazers","contributors_url":"https://api.github.com/repos/botanicus/zold/contributors","subscribers_url":"https://api.github.com/repos/botanicus/zold/subscribers","subscription_url":"https://api.github.com/repos/botanicus/zold/subscription","commits_url":"https://api.github.com/repos/botanicus/zold/commits{/sha}","git_commits_url":"https://api.github.com/repos/botanicus/zold/git/commits{/sha}","comments_url":"https://api.github.com/repos/botanicus/zold/comments{/number}","issue_comment_url":"https://api.github.com/repos/botanicus/zold/issues/comments{/number}","contents_url":"https://api.github.com/repos/botanicus/zold/contents/{+path}","compare_url":"https://api.github.com/repos/botanicus/zold/compare/{base}...{head}","merges_url":"https://api.github.com/repos/botanicus/zold/merges","archive_url":"https://api.github.com/repos/botanicus/zold/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/botanicus/zold/downloads","issues_url":"https://api.github.com/repos/botanicus/zold/issues{/number}","pulls_url":"https://api.github.com/repos/botanicus/zold/pulls{/number}","milestones_url":"https://api.github.com/repos/botanicus/zold/milestones{/number}","notifications_url":"https://api.github.com/repos/botanicus/zold/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/botanicus/zold/labels{/name}","releases_url":"https://api.github.com/repos/botanicus/zold/releases{/id}","deployments_url":"https://api.github.com/repos/botanicus/zold/deployments","created_at":"2018-06-26T06:09:27Z","updated_at":"2018-06-26T06:09:29Z","pushed_at":"2018-07-01T16:05:24Z","git_url":"git://github.com/botanicus/zold.git","ssh_url":"git@github.com:botanicus/zold.git","clone_url":"https://github.com/botanicus/zold.git","svn_url":"https://github.com/botanicus/zold","homepage":"http://www.zold.io","size":1769,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zold-io:master","ref":"master","sha":"cf2a6224f45b6fe5235348ff46a9a94148472929","user":{"login":"zold-io","id":39849919,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODQ5OTE5","avatar_url":"https://avatars1.githubusercontent.com/u/39849919?v=4","gravatar_id":"","url":"https://api.github.com/users/zold-io","html_url":"https://github.com/zold-io","followers_url":"https://api.github.com/users/zold-io/followers","following_url":"https://api.github.com/users/zold-io/following{/other_user}","gists_url":"https://api.github.com/users/zold-io/gists{/gist_id}","starred_url":"https://api.github.com/users/zold-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zold-io/subscriptions","organizations_url":"https://api.github.com/users/zold-io/orgs","repos_url":"https://api.github.com/users/zold-io/repos","events_url":"https://api.github.com/users/zold-io/events{/privacy}","received_events_url":"https://api.github.com/users/zold-io/received_events","type":"Organization","site_admin":false},"repo":{"id":119125227,"node_id":"MDEwOlJlcG9zaXRvcnkxMTkxMjUyMjc=","name":"zold","full_name":"zold-io/zold","owner":{"login":"zold-io","id":39849919,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5ODQ5OTE5","avatar_url":"https://avatars1.githubusercontent.com/u/39849919?v=4","gravatar_id":"","url":"https://api.github.com/users/zold-io","html_url":"https://github.com/zold-io","followers_url":"https://api.github.com/users/zold-io/followers","following_url":"https://api.github.com/users/zold-io/following{/other_user}","gists_url":"https://api.github.com/users/zold-io/gists{/gist_id}","starred_url":"https://api.github.com/users/zold-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zold-io/subscriptions","organizations_url":"https://api.github.com/users/zold-io/orgs","repos_url":"https://api.github.com/users/zold-io/repos","events_url":"https://api.github.com/users/zold-io/events{/privacy}","received_events_url":"https://api.github.com/users/zold-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zold-io/zold","description":"A Fast Cryptocurrency for Micro Payments","fork":false,"url":"https://api.github.com/repos/zold-io/zold","forks_url":"https://api.github.com/repos/zold-io/zold/forks","keys_url":"https://api.github.com/repos/zold-io/zold/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zold-io/zold/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zold-io/zold/teams","hooks_url":"https://api.github.com/repos/zold-io/zold/hooks","issue_events_url":"https://api.github.com/repos/zold-io/zold/issues/events{/number}","events_url":"https://api.github.com/repos/zold-io/zold/events","assignees_url":"https://api.github.com/repos/zold-io/zold/assignees{/user}","branches_url":"https://api.github.com/repos/zold-io/zold/branches{/branch}","tags_url":"https://api.github.com/repos/zold-io/zold/tags","blobs_url":"https://api.github.com/repos/zold-io/zold/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zold-io/zold/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zold-io/zold/git/refs{/sha}","trees_url":"https://api.github.com/repos/zold-io/zold/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zold-io/zold/statuses/{sha}","languages_url":"https://api.github.com/repos/zold-io/zold/languages","stargazers_url":"https://api.github.com/repos/zold-io/zold/stargazers","contributors_url":"https://api.github.com/repos/zold-io/zold/contributors","subscribers_url":"https://api.github.com/repos/zold-io/zold/subscribers","subscription_url":"https://api.github.com/repos/zold-io/zold/subscription","commits_url":"https://api.github.com/repos/zold-io/zold/commits{/sha}","git_commits_url":"https://api.github.com/repos/zold-io/zold/git/commits{/sha}","comments_url":"https://api.github.com/repos/zold-io/zold/comments{/number}","issue_comment_url":"https://api.github.com/repos/zold-io/zold/issues/comments{/number}","contents_url":"https://api.github.com/repos/zold-io/zold/contents/{+path}","compare_url":"https://api.github.com/repos/zold-io/zold/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zold-io/zold/merges","archive_url":"https://api.github.com/repos/zold-io/zold/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zold-io/zold/downloads","issues_url":"https://api.github.com/repos/zold-io/zold/issues{/number}","pulls_url":"https://api.github.com/repos/zold-io/zold/pulls{/number}","milestones_url":"https://api.github.com/repos/zold-io/zold/milestones{/number}","notifications_url":"https://api.github.com/repos/zold-io/zold/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zold-io/zold/labels{/name}","releases_url":"https://api.github.com/repos/zold-io/zold/releases{/id}","deployments_url":"https://api.github.com/repos/zold-io/zold/deployments","created_at":"2018-01-27T02:31:37Z","updated_at":"2018-07-01T07:07:54Z","pushed_at":"2018-07-01T16:05:25Z","git_url":"git://github.com/zold-io/zold.git","ssh_url":"git@github.com:zold-io/zold.git","clone_url":"https://github.com/zold-io/zold.git","svn_url":"https://github.com/zold-io/zold","homepage":"http://www.zold.io","size":1768,"stargazers_count":40,"watchers_count":40,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":89,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":23,"open_issues":89,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zold-io/zold/pulls/317"},"html":{"href":"https://github.com/zold-io/zold/pull/317"},"issue":{"href":"https://api.github.com/repos/zold-io/zold/issues/317"},"comments":{"href":"https://api.github.com/repos/zold-io/zold/issues/317/comments"},"review_comments":{"href":"https://api.github.com/repos/zold-io/zold/pulls/317/comments"},"review_comment":{"href":"https://api.github.com/repos/zold-io/zold/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zold-io/zold/pulls/317/commits"},"statuses":{"href":"https://api.github.com/repos/zold-io/zold/statuses/47c8c28a905d68c7a4020a5a36f9be7a28b5d804"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ledestin"}}