{"action":"opened","number":86,"pull_request":{"url":"https://api.github.com/repos/redding/ardb/pulls/86","id":53938412,"html_url":"https://github.com/redding/ardb/pull/86","diff_url":"https://github.com/redding/ardb/pull/86.diff","patch_url":"https://github.com/redding/ardb/pull/86.patch","issue_url":"https://api.github.com/repos/redding/ardb/issues/86","number":86,"state":"open","locked":false,"title":"rework CLI 'migrate' sub-command","user":{"login":"kellyredding","id":82110,"avatar_url":"https://avatars.githubusercontent.com/u/82110?v=3","gravatar_id":"","url":"https://api.github.com/users/kellyredding","html_url":"https://github.com/kellyredding","followers_url":"https://api.github.com/users/kellyredding/followers","following_url":"https://api.github.com/users/kellyredding/following{/other_user}","gists_url":"https://api.github.com/users/kellyredding/gists{/gist_id}","starred_url":"https://api.github.com/users/kellyredding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kellyredding/subscriptions","organizations_url":"https://api.github.com/users/kellyredding/orgs","repos_url":"https://api.github.com/users/kellyredding/repos","events_url":"https://api.github.com/users/kellyredding/events{/privacy}","received_events_url":"https://api.github.com/users/kellyredding/received_events","type":"User","site_admin":false},"body":"This reworks the 'migrate' CLI subcommand to put it in the new CLI\r\nframework. This also enhances the tests to more thoroughly test\r\nthe stdout/stderr the command produces.\r\n\r\nThis is part of porting the CLI sub-commands into the new framework.\r\n\r\n@jcredding ready for review.","created_at":"2015-12-17T06:10:08Z","updated_at":"2015-12-17T06:10:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/redding/ardb/pulls/86/commits","review_comments_url":"https://api.github.com/repos/redding/ardb/pulls/86/comments","review_comment_url":"https://api.github.com/repos/redding/ardb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/redding/ardb/issues/86/comments","statuses_url":"https://api.github.com/repos/redding/ardb/statuses/4829395cd5d3e2730ff4b0d8bed402e3e705727d","head":{"label":"redding:kr-migrate-cmd","ref":"kr-migrate-cmd","sha":"4829395cd5d3e2730ff4b0d8bed402e3e705727d","user":{"login":"redding","id":2427810,"avatar_url":"https://avatars.githubusercontent.com/u/2427810?v=3","gravatar_id":"","url":"https://api.github.com/users/redding","html_url":"https://github.com/redding","followers_url":"https://api.github.com/users/redding/followers","following_url":"https://api.github.com/users/redding/following{/other_user}","gists_url":"https://api.github.com/users/redding/gists{/gist_id}","starred_url":"https://api.github.com/users/redding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redding/subscriptions","organizations_url":"https://api.github.com/users/redding/orgs","repos_url":"https://api.github.com/users/redding/repos","events_url":"https://api.github.com/users/redding/events{/privacy}","received_events_url":"https://api.github.com/users/redding/received_events","type":"Organization","site_admin":false},"repo":{"id":9097854,"name":"ardb","full_name":"redding/ardb","owner":{"login":"redding","id":2427810,"avatar_url":"https://avatars.githubusercontent.com/u/2427810?v=3","gravatar_id":"","url":"https://api.github.com/users/redding","html_url":"https://github.com/redding","followers_url":"https://api.github.com/users/redding/followers","following_url":"https://api.github.com/users/redding/following{/other_user}","gists_url":"https://api.github.com/users/redding/gists{/gist_id}","starred_url":"https://api.github.com/users/redding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redding/subscriptions","organizations_url":"https://api.github.com/users/redding/orgs","repos_url":"https://api.github.com/users/redding/repos","events_url":"https://api.github.com/users/redding/events{/privacy}","received_events_url":"https://api.github.com/users/redding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/redding/ardb","description":"Activerecord database tools.","fork":false,"url":"https://api.github.com/repos/redding/ardb","forks_url":"https://api.github.com/repos/redding/ardb/forks","keys_url":"https://api.github.com/repos/redding/ardb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redding/ardb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redding/ardb/teams","hooks_url":"https://api.github.com/repos/redding/ardb/hooks","issue_events_url":"https://api.github.com/repos/redding/ardb/issues/events{/number}","events_url":"https://api.github.com/repos/redding/ardb/events","assignees_url":"https://api.github.com/repos/redding/ardb/assignees{/user}","branches_url":"https://api.github.com/repos/redding/ardb/branches{/branch}","tags_url":"https://api.github.com/repos/redding/ardb/tags","blobs_url":"https://api.github.com/repos/redding/ardb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redding/ardb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redding/ardb/git/refs{/sha}","trees_url":"https://api.github.com/repos/redding/ardb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redding/ardb/statuses/{sha}","languages_url":"https://api.github.com/repos/redding/ardb/languages","stargazers_url":"https://api.github.com/repos/redding/ardb/stargazers","contributors_url":"https://api.github.com/repos/redding/ardb/contributors","subscribers_url":"https://api.github.com/repos/redding/ardb/subscribers","subscription_url":"https://api.github.com/repos/redding/ardb/subscription","commits_url":"https://api.github.com/repos/redding/ardb/commits{/sha}","git_commits_url":"https://api.github.com/repos/redding/ardb/git/commits{/sha}","comments_url":"https://api.github.com/repos/redding/ardb/comments{/number}","issue_comment_url":"https://api.github.com/repos/redding/ardb/issues/comments{/number}","contents_url":"https://api.github.com/repos/redding/ardb/contents/{+path}","compare_url":"https://api.github.com/repos/redding/ardb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redding/ardb/merges","archive_url":"https://api.github.com/repos/redding/ardb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redding/ardb/downloads","issues_url":"https://api.github.com/repos/redding/ardb/issues{/number}","pulls_url":"https://api.github.com/repos/redding/ardb/pulls{/number}","milestones_url":"https://api.github.com/repos/redding/ardb/milestones{/number}","notifications_url":"https://api.github.com/repos/redding/ardb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redding/ardb/labels{/name}","releases_url":"https://api.github.com/repos/redding/ardb/releases{/id}","created_at":"2013-03-29T12:18:17Z","updated_at":"2015-07-08T19:48:26Z","pushed_at":"2015-12-17T06:09:45Z","git_url":"git://github.com/redding/ardb.git","ssh_url":"git@github.com:redding/ardb.git","clone_url":"https://github.com/redding/ardb.git","svn_url":"https://github.com/redding/ardb","homepage":null,"size":172,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":2,"default_branch":"master"}},"base":{"label":"redding:feature-cli-sub-cmds","ref":"feature-cli-sub-cmds","sha":"d0edcbf3d5f447c47c04282aa762d55b157e5f51","user":{"login":"redding","id":2427810,"avatar_url":"https://avatars.githubusercontent.com/u/2427810?v=3","gravatar_id":"","url":"https://api.github.com/users/redding","html_url":"https://github.com/redding","followers_url":"https://api.github.com/users/redding/followers","following_url":"https://api.github.com/users/redding/following{/other_user}","gists_url":"https://api.github.com/users/redding/gists{/gist_id}","starred_url":"https://api.github.com/users/redding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redding/subscriptions","organizations_url":"https://api.github.com/users/redding/orgs","repos_url":"https://api.github.com/users/redding/repos","events_url":"https://api.github.com/users/redding/events{/privacy}","received_events_url":"https://api.github.com/users/redding/received_events","type":"Organization","site_admin":false},"repo":{"id":9097854,"name":"ardb","full_name":"redding/ardb","owner":{"login":"redding","id":2427810,"avatar_url":"https://avatars.githubusercontent.com/u/2427810?v=3","gravatar_id":"","url":"https://api.github.com/users/redding","html_url":"https://github.com/redding","followers_url":"https://api.github.com/users/redding/followers","following_url":"https://api.github.com/users/redding/following{/other_user}","gists_url":"https://api.github.com/users/redding/gists{/gist_id}","starred_url":"https://api.github.com/users/redding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redding/subscriptions","organizations_url":"https://api.github.com/users/redding/orgs","repos_url":"https://api.github.com/users/redding/repos","events_url":"https://api.github.com/users/redding/events{/privacy}","received_events_url":"https://api.github.com/users/redding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/redding/ardb","description":"Activerecord database tools.","fork":false,"url":"https://api.github.com/repos/redding/ardb","forks_url":"https://api.github.com/repos/redding/ardb/forks","keys_url":"https://api.github.com/repos/redding/ardb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redding/ardb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redding/ardb/teams","hooks_url":"https://api.github.com/repos/redding/ardb/hooks","issue_events_url":"https://api.github.com/repos/redding/ardb/issues/events{/number}","events_url":"https://api.github.com/repos/redding/ardb/events","assignees_url":"https://api.github.com/repos/redding/ardb/assignees{/user}","branches_url":"https://api.github.com/repos/redding/ardb/branches{/branch}","tags_url":"https://api.github.com/repos/redding/ardb/tags","blobs_url":"https://api.github.com/repos/redding/ardb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redding/ardb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redding/ardb/git/refs{/sha}","trees_url":"https://api.github.com/repos/redding/ardb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redding/ardb/statuses/{sha}","languages_url":"https://api.github.com/repos/redding/ardb/languages","stargazers_url":"https://api.github.com/repos/redding/ardb/stargazers","contributors_url":"https://api.github.com/repos/redding/ardb/contributors","subscribers_url":"https://api.github.com/repos/redding/ardb/subscribers","subscription_url":"https://api.github.com/repos/redding/ardb/subscription","commits_url":"https://api.github.com/repos/redding/ardb/commits{/sha}","git_commits_url":"https://api.github.com/repos/redding/ardb/git/commits{/sha}","comments_url":"https://api.github.com/repos/redding/ardb/comments{/number}","issue_comment_url":"https://api.github.com/repos/redding/ardb/issues/comments{/number}","contents_url":"https://api.github.com/repos/redding/ardb/contents/{+path}","compare_url":"https://api.github.com/repos/redding/ardb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redding/ardb/merges","archive_url":"https://api.github.com/repos/redding/ardb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redding/ardb/downloads","issues_url":"https://api.github.com/repos/redding/ardb/issues{/number}","pulls_url":"https://api.github.com/repos/redding/ardb/pulls{/number}","milestones_url":"https://api.github.com/repos/redding/ardb/milestones{/number}","notifications_url":"https://api.github.com/repos/redding/ardb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redding/ardb/labels{/name}","releases_url":"https://api.github.com/repos/redding/ardb/releases{/id}","created_at":"2013-03-29T12:18:17Z","updated_at":"2015-07-08T19:48:26Z","pushed_at":"2015-12-17T06:09:45Z","git_url":"git://github.com/redding/ardb.git","ssh_url":"git@github.com:redding/ardb.git","clone_url":"https://github.com/redding/ardb.git","svn_url":"https://github.com/redding/ardb","homepage":null,"size":172,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/redding/ardb/pulls/86"},"html":{"href":"https://github.com/redding/ardb/pull/86"},"issue":{"href":"https://api.github.com/repos/redding/ardb/issues/86"},"comments":{"href":"https://api.github.com/repos/redding/ardb/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/redding/ardb/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/redding/ardb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/redding/ardb/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/redding/ardb/statuses/4829395cd5d3e2730ff4b0d8bed402e3e705727d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":102,"deletions":129,"changed_files":4}}