{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/vweevers/node-docker-machine/pulls/1","id":86062413,"html_url":"https://github.com/vweevers/node-docker-machine/pull/1","diff_url":"https://github.com/vweevers/node-docker-machine/pull/1.diff","patch_url":"https://github.com/vweevers/node-docker-machine/pull/1.patch","issue_url":"https://api.github.com/repos/vweevers/node-docker-machine/issues/1","number":1,"state":"closed","locked":false,"title":"Add Machine.list()","user":{"login":"dikarel","id":15131271,"avatar_url":"https://avatars.githubusercontent.com/u/15131271?v=3","gravatar_id":"","url":"https://api.github.com/users/dikarel","html_url":"https://github.com/dikarel","followers_url":"https://api.github.com/users/dikarel/followers","following_url":"https://api.github.com/users/dikarel/following{/other_user}","gists_url":"https://api.github.com/users/dikarel/gists{/gist_id}","starred_url":"https://api.github.com/users/dikarel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dikarel/subscriptions","organizations_url":"https://api.github.com/users/dikarel/orgs","repos_url":"https://api.github.com/users/dikarel/repos","events_url":"https://api.github.com/users/dikarel/events{/privacy}","received_events_url":"https://api.github.com/users/dikarel/received_events","type":"User","site_admin":false},"body":"Useful for writing utilities that need to invoke `docker-machine ls`. Adds a dependency to [table-parser](https://www.npmjs.com/package/table-parser)\r\n\r\nTested on OS X El Capitan\r\n\r\n```bash\r\nnode-docker-machine: node examples/list-machines.js\r\n[ { name: 'agent-1',\r\n    driver: 'virtualbox',\r\n    state: 'running',\r\n    url: 'tcp://192.168.99.101:2376',\r\n    docker: 'v1.12.0',\r\n    errors: '',\r\n    active: false },\r\n  { name: 'agent-2',\r\n    driver: 'virtualbox',\r\n    state: 'stopped',\r\n    url: '',\r\n    docker: 'unknown',\r\n    errors: '',\r\n    active: false },\r\n  { name: 'default',\r\n    driver: 'virtualbox',\r\n    state: 'running',\r\n    url: 'tcp://192.168.99.100:2376',\r\n    docker: 'v1.12.0',\r\n    errors: '',\r\n    active: true },\r\n  { name: 'testong',\r\n    driver: 'virtualbox',\r\n    state: 'stopped',\r\n    url: '',\r\n    docker: 'unknown',\r\n    errors: '',\r\n    active: false } ]\r\n```\r\n\r\n```\r\nnode-docker-machine: node examples/run-command.js ls /\r\nUsers\r\nbin\r\ndev\r\netc\r\nhome\r\ninit\r\nlib\r\nlib64\r\nlinuxrc\r\nmnt\r\nopt\r\nproc\r\nroot\r\nrun\r\nsbin\r\nsys\r\ntmp\r\nusr\r\nvar\r\n```","created_at":"2016-09-20T21:46:11Z","updated_at":"2016-09-21T02:44:52Z","closed_at":"2016-09-21T02:44:52Z","merged_at":null,"merge_commit_sha":"f16328f46c9b337103c5c58c609f10e4b6cbe57f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/vweevers/node-docker-machine/pulls/1/commits","review_comments_url":"https://api.github.com/repos/vweevers/node-docker-machine/pulls/1/comments","review_comment_url":"https://api.github.com/repos/vweevers/node-docker-machine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vweevers/node-docker-machine/issues/1/comments","statuses_url":"https://api.github.com/repos/vweevers/node-docker-machine/statuses/cbdc8375e0c0d1dbedda53493f8b6aa56a0f1b90","head":{"label":"dikarel:master","ref":"master","sha":"cbdc8375e0c0d1dbedda53493f8b6aa56a0f1b90","user":{"login":"dikarel","id":15131271,"avatar_url":"https://avatars.githubusercontent.com/u/15131271?v=3","gravatar_id":"","url":"https://api.github.com/users/dikarel","html_url":"https://github.com/dikarel","followers_url":"https://api.github.com/users/dikarel/followers","following_url":"https://api.github.com/users/dikarel/following{/other_user}","gists_url":"https://api.github.com/users/dikarel/gists{/gist_id}","starred_url":"https://api.github.com/users/dikarel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dikarel/subscriptions","organizations_url":"https://api.github.com/users/dikarel/orgs","repos_url":"https://api.github.com/users/dikarel/repos","events_url":"https://api.github.com/users/dikarel/events{/privacy}","received_events_url":"https://api.github.com/users/dikarel/received_events","type":"User","site_admin":false},"repo":{"id":68752256,"name":"node-docker-machine","full_name":"dikarel/node-docker-machine","owner":{"login":"dikarel","id":15131271,"avatar_url":"https://avatars.githubusercontent.com/u/15131271?v=3","gravatar_id":"","url":"https://api.github.com/users/dikarel","html_url":"https://github.com/dikarel","followers_url":"https://api.github.com/users/dikarel/followers","following_url":"https://api.github.com/users/dikarel/following{/other_user}","gists_url":"https://api.github.com/users/dikarel/gists{/gist_id}","starred_url":"https://api.github.com/users/dikarel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dikarel/subscriptions","organizations_url":"https://api.github.com/users/dikarel/orgs","repos_url":"https://api.github.com/users/dikarel/repos","events_url":"https://api.github.com/users/dikarel/events{/privacy}","received_events_url":"https://api.github.com/users/dikarel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dikarel/node-docker-machine","description":"Programmatic API to Docker Machine","fork":true,"url":"https://api.github.com/repos/dikarel/node-docker-machine","forks_url":"https://api.github.com/repos/dikarel/node-docker-machine/forks","keys_url":"https://api.github.com/repos/dikarel/node-docker-machine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dikarel/node-docker-machine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dikarel/node-docker-machine/teams","hooks_url":"https://api.github.com/repos/dikarel/node-docker-machine/hooks","issue_events_url":"https://api.github.com/repos/dikarel/node-docker-machine/issues/events{/number}","events_url":"https://api.github.com/repos/dikarel/node-docker-machine/events","assignees_url":"https://api.github.com/repos/dikarel/node-docker-machine/assignees{/user}","branches_url":"https://api.github.com/repos/dikarel/node-docker-machine/branches{/branch}","tags_url":"https://api.github.com/repos/dikarel/node-docker-machine/tags","blobs_url":"https://api.github.com/repos/dikarel/node-docker-machine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dikarel/node-docker-machine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dikarel/node-docker-machine/git/refs{/sha}","trees_url":"https://api.github.com/repos/dikarel/node-docker-machine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dikarel/node-docker-machine/statuses/{sha}","languages_url":"https://api.github.com/repos/dikarel/node-docker-machine/languages","stargazers_url":"https://api.github.com/repos/dikarel/node-docker-machine/stargazers","contributors_url":"https://api.github.com/repos/dikarel/node-docker-machine/contributors","subscribers_url":"https://api.github.com/repos/dikarel/node-docker-machine/subscribers","subscription_url":"https://api.github.com/repos/dikarel/node-docker-machine/subscription","commits_url":"https://api.github.com/repos/dikarel/node-docker-machine/commits{/sha}","git_commits_url":"https://api.github.com/repos/dikarel/node-docker-machine/git/commits{/sha}","comments_url":"https://api.github.com/repos/dikarel/node-docker-machine/comments{/number}","issue_comment_url":"https://api.github.com/repos/dikarel/node-docker-machine/issues/comments{/number}","contents_url":"https://api.github.com/repos/dikarel/node-docker-machine/contents/{+path}","compare_url":"https://api.github.com/repos/dikarel/node-docker-machine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dikarel/node-docker-machine/merges","archive_url":"https://api.github.com/repos/dikarel/node-docker-machine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dikarel/node-docker-machine/downloads","issues_url":"https://api.github.com/repos/dikarel/node-docker-machine/issues{/number}","pulls_url":"https://api.github.com/repos/dikarel/node-docker-machine/pulls{/number}","milestones_url":"https://api.github.com/repos/dikarel/node-docker-machine/milestones{/number}","notifications_url":"https://api.github.com/repos/dikarel/node-docker-machine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dikarel/node-docker-machine/labels{/name}","releases_url":"https://api.github.com/repos/dikarel/node-docker-machine/releases{/id}","deployments_url":"https://api.github.com/repos/dikarel/node-docker-machine/deployments","created_at":"2016-09-20T20:50:35Z","updated_at":"2016-09-20T20:50:36Z","pushed_at":"2016-09-21T02:40:30Z","git_url":"git://github.com/dikarel/node-docker-machine.git","ssh_url":"git@github.com:dikarel/node-docker-machine.git","clone_url":"https://github.com/dikarel/node-docker-machine.git","svn_url":"https://github.com/dikarel/node-docker-machine","homepage":"","size":5,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"vweevers:master","ref":"master","sha":"e82b67da2dbf20456991128780e52d275e1eb52d","user":{"login":"vweevers","id":3055345,"avatar_url":"https://avatars.githubusercontent.com/u/3055345?v=3","gravatar_id":"","url":"https://api.github.com/users/vweevers","html_url":"https://github.com/vweevers","followers_url":"https://api.github.com/users/vweevers/followers","following_url":"https://api.github.com/users/vweevers/following{/other_user}","gists_url":"https://api.github.com/users/vweevers/gists{/gist_id}","starred_url":"https://api.github.com/users/vweevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vweevers/subscriptions","organizations_url":"https://api.github.com/users/vweevers/orgs","repos_url":"https://api.github.com/users/vweevers/repos","events_url":"https://api.github.com/users/vweevers/events{/privacy}","received_events_url":"https://api.github.com/users/vweevers/received_events","type":"User","site_admin":false},"repo":{"id":63264174,"name":"node-docker-machine","full_name":"vweevers/node-docker-machine","owner":{"login":"vweevers","id":3055345,"avatar_url":"https://avatars.githubusercontent.com/u/3055345?v=3","gravatar_id":"","url":"https://api.github.com/users/vweevers","html_url":"https://github.com/vweevers","followers_url":"https://api.github.com/users/vweevers/followers","following_url":"https://api.github.com/users/vweevers/following{/other_user}","gists_url":"https://api.github.com/users/vweevers/gists{/gist_id}","starred_url":"https://api.github.com/users/vweevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vweevers/subscriptions","organizations_url":"https://api.github.com/users/vweevers/orgs","repos_url":"https://api.github.com/users/vweevers/repos","events_url":"https://api.github.com/users/vweevers/events{/privacy}","received_events_url":"https://api.github.com/users/vweevers/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vweevers/node-docker-machine","description":"Programmatic API to Docker Machine","fork":false,"url":"https://api.github.com/repos/vweevers/node-docker-machine","forks_url":"https://api.github.com/repos/vweevers/node-docker-machine/forks","keys_url":"https://api.github.com/repos/vweevers/node-docker-machine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vweevers/node-docker-machine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vweevers/node-docker-machine/teams","hooks_url":"https://api.github.com/repos/vweevers/node-docker-machine/hooks","issue_events_url":"https://api.github.com/repos/vweevers/node-docker-machine/issues/events{/number}","events_url":"https://api.github.com/repos/vweevers/node-docker-machine/events","assignees_url":"https://api.github.com/repos/vweevers/node-docker-machine/assignees{/user}","branches_url":"https://api.github.com/repos/vweevers/node-docker-machine/branches{/branch}","tags_url":"https://api.github.com/repos/vweevers/node-docker-machine/tags","blobs_url":"https://api.github.com/repos/vweevers/node-docker-machine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vweevers/node-docker-machine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vweevers/node-docker-machine/git/refs{/sha}","trees_url":"https://api.github.com/repos/vweevers/node-docker-machine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vweevers/node-docker-machine/statuses/{sha}","languages_url":"https://api.github.com/repos/vweevers/node-docker-machine/languages","stargazers_url":"https://api.github.com/repos/vweevers/node-docker-machine/stargazers","contributors_url":"https://api.github.com/repos/vweevers/node-docker-machine/contributors","subscribers_url":"https://api.github.com/repos/vweevers/node-docker-machine/subscribers","subscription_url":"https://api.github.com/repos/vweevers/node-docker-machine/subscription","commits_url":"https://api.github.com/repos/vweevers/node-docker-machine/commits{/sha}","git_commits_url":"https://api.github.com/repos/vweevers/node-docker-machine/git/commits{/sha}","comments_url":"https://api.github.com/repos/vweevers/node-docker-machine/comments{/number}","issue_comment_url":"https://api.github.com/repos/vweevers/node-docker-machine/issues/comments{/number}","contents_url":"https://api.github.com/repos/vweevers/node-docker-machine/contents/{+path}","compare_url":"https://api.github.com/repos/vweevers/node-docker-machine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vweevers/node-docker-machine/merges","archive_url":"https://api.github.com/repos/vweevers/node-docker-machine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vweevers/node-docker-machine/downloads","issues_url":"https://api.github.com/repos/vweevers/node-docker-machine/issues{/number}","pulls_url":"https://api.github.com/repos/vweevers/node-docker-machine/pulls{/number}","milestones_url":"https://api.github.com/repos/vweevers/node-docker-machine/milestones{/number}","notifications_url":"https://api.github.com/repos/vweevers/node-docker-machine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vweevers/node-docker-machine/labels{/name}","releases_url":"https://api.github.com/repos/vweevers/node-docker-machine/releases{/id}","deployments_url":"https://api.github.com/repos/vweevers/node-docker-machine/deployments","created_at":"2016-07-13T16:57:53Z","updated_at":"2016-09-20T21:48:00Z","pushed_at":"2016-09-21T02:40:31Z","git_url":"git://github.com/vweevers/node-docker-machine.git","ssh_url":"git@github.com:vweevers/node-docker-machine.git","clone_url":"https://github.com/vweevers/node-docker-machine.git","svn_url":"https://github.com/vweevers/node-docker-machine","homepage":"","size":4,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vweevers/node-docker-machine/pulls/1"},"html":{"href":"https://github.com/vweevers/node-docker-machine/pull/1"},"issue":{"href":"https://api.github.com/repos/vweevers/node-docker-machine/issues/1"},"comments":{"href":"https://api.github.com/repos/vweevers/node-docker-machine/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/vweevers/node-docker-machine/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/vweevers/node-docker-machine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vweevers/node-docker-machine/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/vweevers/node-docker-machine/statuses/cbdc8375e0c0d1dbedda53493f8b6aa56a0f1b90"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":8,"commits":3,"additions":246,"deletions":76,"changed_files":5}}
{"actor":{"display_login":"dikarel"}}