{"action":"created","comment":{"url":"https://api.github.com/repos/remind101/emp/pulls/comments/32956779","id":32956779,"diff_hunk":"@@ -130,3 +132,44 @@ func runUnset(cmd *Command, args []string) {\n \tmust(err)\n \tlog.Printf(\"Unset env vars and restarted %s.\", appname)\n }\n+\n+var cmdLoad = &Command{\n+\tRun:      runLoad,\n+\tUsage:    \"load <file>\",","path":"env.go","position":16,"original_position":16,"commit_id":"9758ad9c2f2d2c704efce5ee325e1fd94924ba6d","original_commit_id":"9758ad9c2f2d2c704efce5ee325e1fd94924ba6d","user":{"login":"phobologic","id":517334,"avatar_url":"https://avatars.githubusercontent.com/u/517334?v=3","gravatar_id":"","url":"https://api.github.com/users/phobologic","html_url":"https://github.com/phobologic","followers_url":"https://api.github.com/users/phobologic/followers","following_url":"https://api.github.com/users/phobologic/following{/other_user}","gists_url":"https://api.github.com/users/phobologic/gists{/gist_id}","starred_url":"https://api.github.com/users/phobologic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phobologic/subscriptions","organizations_url":"https://api.github.com/users/phobologic/orgs","repos_url":"https://api.github.com/users/phobologic/repos","events_url":"https://api.github.com/users/phobologic/events{/privacy}","received_events_url":"https://api.github.com/users/phobologic/received_events","type":"User","site_admin":false},"body":"Can we change this to env-load just to make it a little more specific & matching the rest of the CLI?","created_at":"2015-06-22T16:57:10Z","updated_at":"2015-06-22T16:57:10Z","html_url":"https://github.com/remind101/emp/pull/6#discussion_r32956779","pull_request_url":"https://api.github.com/repos/remind101/emp/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/remind101/emp/pulls/comments/32956779"},"html":{"href":"https://github.com/remind101/emp/pull/6#discussion_r32956779"},"pull_request":{"href":"https://api.github.com/repos/remind101/emp/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/remind101/emp/pulls/6","id":38183653,"html_url":"https://github.com/remind101/emp/pull/6","diff_url":"https://github.com/remind101/emp/pull/6.diff","patch_url":"https://github.com/remind101/emp/pull/6.patch","issue_url":"https://api.github.com/repos/remind101/emp/issues/6","number":6,"state":"open","locked":false,"title":"Add env load command.","user":{"login":"public","id":83000,"avatar_url":"https://avatars.githubusercontent.com/u/83000?v=3","gravatar_id":"","url":"https://api.github.com/users/public","html_url":"https://github.com/public","followers_url":"https://api.github.com/users/public/followers","following_url":"https://api.github.com/users/public/following{/other_user}","gists_url":"https://api.github.com/users/public/gists{/gist_id}","starred_url":"https://api.github.com/users/public/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/public/subscriptions","organizations_url":"https://api.github.com/users/public/orgs","repos_url":"https://api.github.com/users/public/repos","events_url":"https://api.github.com/users/public/events{/privacy}","received_events_url":"https://api.github.com/users/public/received_events","type":"User","site_admin":false},"body":"For loading env-files so you don't need to worry about secrets being exposed via `ps` or shell history.\r\n\r\nLiterally the first Go code I've written. I guess this could use some tests.\r\n\r\nI also get tons of changes if I run `godep save` to add the new dependency on `opts`. Am I doing it wrong?","created_at":"2015-06-21T12:38:33Z","updated_at":"2015-06-22T16:57:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1c25ef8b2fbd657d9f10fda9c6d9bc5d39e0b48","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/remind101/emp/pulls/6/commits","review_comments_url":"https://api.github.com/repos/remind101/emp/pulls/6/comments","review_comment_url":"https://api.github.com/repos/remind101/emp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/remind101/emp/issues/6/comments","statuses_url":"https://api.github.com/repos/remind101/emp/statuses/9758ad9c2f2d2c704efce5ee325e1fd94924ba6d","head":{"label":"public:env-load","ref":"env-load","sha":"9758ad9c2f2d2c704efce5ee325e1fd94924ba6d","user":{"login":"public","id":83000,"avatar_url":"https://avatars.githubusercontent.com/u/83000?v=3","gravatar_id":"","url":"https://api.github.com/users/public","html_url":"https://github.com/public","followers_url":"https://api.github.com/users/public/followers","following_url":"https://api.github.com/users/public/following{/other_user}","gists_url":"https://api.github.com/users/public/gists{/gist_id}","starred_url":"https://api.github.com/users/public/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/public/subscriptions","organizations_url":"https://api.github.com/users/public/orgs","repos_url":"https://api.github.com/users/public/repos","events_url":"https://api.github.com/users/public/events{/privacy}","received_events_url":"https://api.github.com/users/public/received_events","type":"User","site_admin":false},"repo":{"id":37805774,"name":"emp","full_name":"public/emp","owner":{"login":"public","id":83000,"avatar_url":"https://avatars.githubusercontent.com/u/83000?v=3","gravatar_id":"","url":"https://api.github.com/users/public","html_url":"https://github.com/public","followers_url":"https://api.github.com/users/public/followers","following_url":"https://api.github.com/users/public/following{/other_user}","gists_url":"https://api.github.com/users/public/gists{/gist_id}","starred_url":"https://api.github.com/users/public/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/public/subscriptions","organizations_url":"https://api.github.com/users/public/orgs","repos_url":"https://api.github.com/users/public/repos","events_url":"https://api.github.com/users/public/events{/privacy}","received_events_url":"https://api.github.com/users/public/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/public/emp","description":"Command line interface for Empire","fork":true,"url":"https://api.github.com/repos/public/emp","forks_url":"https://api.github.com/repos/public/emp/forks","keys_url":"https://api.github.com/repos/public/emp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/public/emp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/public/emp/teams","hooks_url":"https://api.github.com/repos/public/emp/hooks","issue_events_url":"https://api.github.com/repos/public/emp/issues/events{/number}","events_url":"https://api.github.com/repos/public/emp/events","assignees_url":"https://api.github.com/repos/public/emp/assignees{/user}","branches_url":"https://api.github.com/repos/public/emp/branches{/branch}","tags_url":"https://api.github.com/repos/public/emp/tags","blobs_url":"https://api.github.com/repos/public/emp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/public/emp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/public/emp/git/refs{/sha}","trees_url":"https://api.github.com/repos/public/emp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/public/emp/statuses/{sha}","languages_url":"https://api.github.com/repos/public/emp/languages","stargazers_url":"https://api.github.com/repos/public/emp/stargazers","contributors_url":"https://api.github.com/repos/public/emp/contributors","subscribers_url":"https://api.github.com/repos/public/emp/subscribers","subscription_url":"https://api.github.com/repos/public/emp/subscription","commits_url":"https://api.github.com/repos/public/emp/commits{/sha}","git_commits_url":"https://api.github.com/repos/public/emp/git/commits{/sha}","comments_url":"https://api.github.com/repos/public/emp/comments{/number}","issue_comment_url":"https://api.github.com/repos/public/emp/issues/comments{/number}","contents_url":"https://api.github.com/repos/public/emp/contents/{+path}","compare_url":"https://api.github.com/repos/public/emp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/public/emp/merges","archive_url":"https://api.github.com/repos/public/emp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/public/emp/downloads","issues_url":"https://api.github.com/repos/public/emp/issues{/number}","pulls_url":"https://api.github.com/repos/public/emp/pulls{/number}","milestones_url":"https://api.github.com/repos/public/emp/milestones{/number}","notifications_url":"https://api.github.com/repos/public/emp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/public/emp/labels{/name}","releases_url":"https://api.github.com/repos/public/emp/releases{/id}","created_at":"2015-06-21T10:58:36Z","updated_at":"2015-06-21T10:58:37Z","pushed_at":"2015-06-21T12:36:26Z","git_url":"git://github.com/public/emp.git","ssh_url":"git@github.com:public/emp.git","clone_url":"https://github.com/public/emp.git","svn_url":"https://github.com/public/emp","homepage":null,"size":1392,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"remind101:master","ref":"master","sha":"11933df42e009da6f5d4c239b38e71cdfcdb2b6a","user":{"login":"remind101","id":376343,"avatar_url":"https://avatars.githubusercontent.com/u/376343?v=3","gravatar_id":"","url":"https://api.github.com/users/remind101","html_url":"https://github.com/remind101","followers_url":"https://api.github.com/users/remind101/followers","following_url":"https://api.github.com/users/remind101/following{/other_user}","gists_url":"https://api.github.com/users/remind101/gists{/gist_id}","starred_url":"https://api.github.com/users/remind101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remind101/subscriptions","organizations_url":"https://api.github.com/users/remind101/orgs","repos_url":"https://api.github.com/users/remind101/repos","events_url":"https://api.github.com/users/remind101/events{/privacy}","received_events_url":"https://api.github.com/users/remind101/received_events","type":"Organization","site_admin":false},"repo":{"id":37286761,"name":"emp","full_name":"remind101/emp","owner":{"login":"remind101","id":376343,"avatar_url":"https://avatars.githubusercontent.com/u/376343?v=3","gravatar_id":"","url":"https://api.github.com/users/remind101","html_url":"https://github.com/remind101","followers_url":"https://api.github.com/users/remind101/followers","following_url":"https://api.github.com/users/remind101/following{/other_user}","gists_url":"https://api.github.com/users/remind101/gists{/gist_id}","starred_url":"https://api.github.com/users/remind101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remind101/subscriptions","organizations_url":"https://api.github.com/users/remind101/orgs","repos_url":"https://api.github.com/users/remind101/repos","events_url":"https://api.github.com/users/remind101/events{/privacy}","received_events_url":"https://api.github.com/users/remind101/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/remind101/emp","description":"Command line interface for Empire","fork":false,"url":"https://api.github.com/repos/remind101/emp","forks_url":"https://api.github.com/repos/remind101/emp/forks","keys_url":"https://api.github.com/repos/remind101/emp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/remind101/emp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/remind101/emp/teams","hooks_url":"https://api.github.com/repos/remind101/emp/hooks","issue_events_url":"https://api.github.com/repos/remind101/emp/issues/events{/number}","events_url":"https://api.github.com/repos/remind101/emp/events","assignees_url":"https://api.github.com/repos/remind101/emp/assignees{/user}","branches_url":"https://api.github.com/repos/remind101/emp/branches{/branch}","tags_url":"https://api.github.com/repos/remind101/emp/tags","blobs_url":"https://api.github.com/repos/remind101/emp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/remind101/emp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/remind101/emp/git/refs{/sha}","trees_url":"https://api.github.com/repos/remind101/emp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/remind101/emp/statuses/{sha}","languages_url":"https://api.github.com/repos/remind101/emp/languages","stargazers_url":"https://api.github.com/repos/remind101/emp/stargazers","contributors_url":"https://api.github.com/repos/remind101/emp/contributors","subscribers_url":"https://api.github.com/repos/remind101/emp/subscribers","subscription_url":"https://api.github.com/repos/remind101/emp/subscription","commits_url":"https://api.github.com/repos/remind101/emp/commits{/sha}","git_commits_url":"https://api.github.com/repos/remind101/emp/git/commits{/sha}","comments_url":"https://api.github.com/repos/remind101/emp/comments{/number}","issue_comment_url":"https://api.github.com/repos/remind101/emp/issues/comments{/number}","contents_url":"https://api.github.com/repos/remind101/emp/contents/{+path}","compare_url":"https://api.github.com/repos/remind101/emp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/remind101/emp/merges","archive_url":"https://api.github.com/repos/remind101/emp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/remind101/emp/downloads","issues_url":"https://api.github.com/repos/remind101/emp/issues{/number}","pulls_url":"https://api.github.com/repos/remind101/emp/pulls{/number}","milestones_url":"https://api.github.com/repos/remind101/emp/milestones{/number}","notifications_url":"https://api.github.com/repos/remind101/emp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/remind101/emp/labels{/name}","releases_url":"https://api.github.com/repos/remind101/emp/releases{/id}","created_at":"2015-06-11T21:18:49Z","updated_at":"2015-06-20T02:36:33Z","pushed_at":"2015-06-21T12:38:33Z","git_url":"git://github.com/remind101/emp.git","ssh_url":"git@github.com:remind101/emp.git","clone_url":"https://github.com/remind101/emp.git","svn_url":"https://github.com/remind101/emp","homepage":null,"size":1392,"stargazers_count":21,"watchers_count":21,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/remind101/emp/pulls/6"},"html":{"href":"https://github.com/remind101/emp/pull/6"},"issue":{"href":"https://api.github.com/repos/remind101/emp/issues/6"},"comments":{"href":"https://api.github.com/repos/remind101/emp/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/remind101/emp/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/remind101/emp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/remind101/emp/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/remind101/emp/statuses/9758ad9c2f2d2c704efce5ee325e1fd94924ba6d"}}}}