{"action":"opened","number":57,"pull_request":{"url":"https://api.github.com/repos/solanolabs/solano/pulls/57","id":96989242,"html_url":"https://github.com/solanolabs/solano/pull/57","diff_url":"https://github.com/solanolabs/solano/pull/57.diff","patch_url":"https://github.com/solanolabs/solano/pull/57.patch","issue_url":"https://api.github.com/repos/solanolabs/solano/issues/57","number":57,"state":"open","locked":false,"title":"Standardize handling --org parameter for config command.","user":{"login":"epmlys","id":3533323,"avatar_url":"https://avatars.githubusercontent.com/u/3533323?v=3","gravatar_id":"","url":"https://api.github.com/users/epmlys","html_url":"https://github.com/epmlys","followers_url":"https://api.github.com/users/epmlys/followers","following_url":"https://api.github.com/users/epmlys/following{/other_user}","gists_url":"https://api.github.com/users/epmlys/gists{/gist_id}","starred_url":"https://api.github.com/users/epmlys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epmlys/subscriptions","organizations_url":"https://api.github.com/users/epmlys/orgs","repos_url":"https://api.github.com/users/epmlys/repos","events_url":"https://api.github.com/users/epmlys/events{/privacy}","received_events_url":"https://api.github.com/users/epmlys/received_events","type":"User","site_admin":false},"body":"JIRA Story - https://jira.slno.net/jira/browse/CICLI-94\r\n\r\n\r\nDemo Examples:\r\n\r\n```bash\r\n[vagrant@solano solano] ./bin/solano\r\nCommands:\r\n...\r\n  solano account [--org NAME]                          # View account information\r\n  solano config [suite | repo | org] [--org NAME]      # Display config variables. The scope argument can be 'suite', 'repo', 'org'. The default is 'suite'.\r\n  solano config:add [SCOPE] [KEY] [VALUE] [--org NAME] # Set KEY=VALUE at SCOPE. The scope argument can be 'suite', 'repo', 'org'.\r\n  solano config:remove [SCOPE] [KEY] [--org NAME]      # Remove config variable NAME from SCOPE.\r\n\r\n[vagrant@solano solano] ./bin/solano config repo\r\nYou are a member of more than one organization.\r\nPlease specify the organization you want to operate on with '--org NAME'.\r\n  handle1\r\n  admin1\r\n\r\n[vagrant@solano solano] ./bin/solano config repo --org qwe\r\nYou aren't a member of organization 'qwe'.\r\n\r\n[vagrant@solano solano] ./bin/solano config repo --org handle1\r\nThe following environment variables are set for this repo:\r\n\r\nxx=12\r\nyy=33\r\n\r\nUse `solano config:add <scope> <key> <value>` to set a config key.\r\nUse `solano config:remove <scope> <key>` to remove a key.\r\n\r\n[vagrant@solano solano] ./bin/solano config repo --org admin1\r\nThe following environment variables are set for this repo:\r\n\r\nhh=bb\r\nqw=qw\r\n\r\nUse `solano config:add <scope> <key> <value>` to set a config key.\r\nUse `solano config:remove <scope> <key>` to remove a key.\r\n\r\n[vagrant@solano solano] ./bin/solano config org --org admin1\r\nThe following environment variables are set for this org:\r\n\r\nhh=bb\r\n\r\nUse `solano config:add <scope> <key> <value>` to set a config key.\r\nUse `solano config:remove <scope> <key>` to remove a key.\r\n\r\n[vagrant@solano solano] ./bin/solano config org --org handle1\r\nThe following environment variables are set for this org:\r\n\r\nxx=12\r\nyy=33\r\n\r\nUse `solano config:add <scope> <key> <value>` to set a config key.\r\nUse `solano config:remove <scope> <key>` to remove a key.\r\n\r\n[vagrant@solano solano] ./bin/solano config:add repo zz 44 --org handle1\r\nAdding config zz=44 to repo\r\nAdded config zz=44 to repo\r\n\r\n[vagrant@solano solano] ./bin/solano config repo --org handle1\r\nThe following environment variables are set for this repo:\r\n\r\nxx=12\r\nyy=33\r\nzz=44\r\n\r\nUse `solano config:add <scope> <key> <value>` to set a config key.\r\nUse `solano config:remove <scope> <key>` to remove a key.\r\n\r\n[vagrant@solano solano]\r\n[vagrant@solano solano] ./bin/solano config org --org handle1\r\nThe following environment variables are set for this org:\r\n\r\nxx=12\r\nyy=33\r\n\r\nUse `solano config:add <scope> <key> <value>` to set a config key.\r\nUse `solano config:remove <scope> <key>` to remove a key.\r\n\r\n```\r\n","created_at":"2016-12-07T19:20:45Z","updated_at":"2016-12-07T19:20:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/solanolabs/solano/pulls/57/commits","review_comments_url":"https://api.github.com/repos/solanolabs/solano/pulls/57/comments","review_comment_url":"https://api.github.com/repos/solanolabs/solano/pulls/comments{/number}","comments_url":"https://api.github.com/repos/solanolabs/solano/issues/57/comments","statuses_url":"https://api.github.com/repos/solanolabs/solano/statuses/b95f151c1ae1129599800db552e7f071b710d9a4","head":{"label":"solanolabs:CICLI-94-config-org-option","ref":"CICLI-94-config-org-option","sha":"b95f151c1ae1129599800db552e7f071b710d9a4","user":{"login":"solanolabs","id":1934259,"avatar_url":"https://avatars.githubusercontent.com/u/1934259?v=3","gravatar_id":"","url":"https://api.github.com/users/solanolabs","html_url":"https://github.com/solanolabs","followers_url":"https://api.github.com/users/solanolabs/followers","following_url":"https://api.github.com/users/solanolabs/following{/other_user}","gists_url":"https://api.github.com/users/solanolabs/gists{/gist_id}","starred_url":"https://api.github.com/users/solanolabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solanolabs/subscriptions","organizations_url":"https://api.github.com/users/solanolabs/orgs","repos_url":"https://api.github.com/users/solanolabs/repos","events_url":"https://api.github.com/users/solanolabs/events{/privacy}","received_events_url":"https://api.github.com/users/solanolabs/received_events","type":"Organization","site_admin":false},"repo":{"id":24828982,"name":"solano","full_name":"solanolabs/solano","owner":{"login":"solanolabs","id":1934259,"avatar_url":"https://avatars.githubusercontent.com/u/1934259?v=3","gravatar_id":"","url":"https://api.github.com/users/solanolabs","html_url":"https://github.com/solanolabs","followers_url":"https://api.github.com/users/solanolabs/followers","following_url":"https://api.github.com/users/solanolabs/following{/other_user}","gists_url":"https://api.github.com/users/solanolabs/gists{/gist_id}","starred_url":"https://api.github.com/users/solanolabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solanolabs/subscriptions","organizations_url":"https://api.github.com/users/solanolabs/orgs","repos_url":"https://api.github.com/users/solanolabs/repos","events_url":"https://api.github.com/users/solanolabs/events{/privacy}","received_events_url":"https://api.github.com/users/solanolabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solanolabs/solano","description":"The Solano CI Command Line Interface","fork":false,"url":"https://api.github.com/repos/solanolabs/solano","forks_url":"https://api.github.com/repos/solanolabs/solano/forks","keys_url":"https://api.github.com/repos/solanolabs/solano/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solanolabs/solano/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solanolabs/solano/teams","hooks_url":"https://api.github.com/repos/solanolabs/solano/hooks","issue_events_url":"https://api.github.com/repos/solanolabs/solano/issues/events{/number}","events_url":"https://api.github.com/repos/solanolabs/solano/events","assignees_url":"https://api.github.com/repos/solanolabs/solano/assignees{/user}","branches_url":"https://api.github.com/repos/solanolabs/solano/branches{/branch}","tags_url":"https://api.github.com/repos/solanolabs/solano/tags","blobs_url":"https://api.github.com/repos/solanolabs/solano/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solanolabs/solano/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solanolabs/solano/git/refs{/sha}","trees_url":"https://api.github.com/repos/solanolabs/solano/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solanolabs/solano/statuses/{sha}","languages_url":"https://api.github.com/repos/solanolabs/solano/languages","stargazers_url":"https://api.github.com/repos/solanolabs/solano/stargazers","contributors_url":"https://api.github.com/repos/solanolabs/solano/contributors","subscribers_url":"https://api.github.com/repos/solanolabs/solano/subscribers","subscription_url":"https://api.github.com/repos/solanolabs/solano/subscription","commits_url":"https://api.github.com/repos/solanolabs/solano/commits{/sha}","git_commits_url":"https://api.github.com/repos/solanolabs/solano/git/commits{/sha}","comments_url":"https://api.github.com/repos/solanolabs/solano/comments{/number}","issue_comment_url":"https://api.github.com/repos/solanolabs/solano/issues/comments{/number}","contents_url":"https://api.github.com/repos/solanolabs/solano/contents/{+path}","compare_url":"https://api.github.com/repos/solanolabs/solano/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solanolabs/solano/merges","archive_url":"https://api.github.com/repos/solanolabs/solano/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solanolabs/solano/downloads","issues_url":"https://api.github.com/repos/solanolabs/solano/issues{/number}","pulls_url":"https://api.github.com/repos/solanolabs/solano/pulls{/number}","milestones_url":"https://api.github.com/repos/solanolabs/solano/milestones{/number}","notifications_url":"https://api.github.com/repos/solanolabs/solano/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solanolabs/solano/labels{/name}","releases_url":"https://api.github.com/repos/solanolabs/solano/releases{/id}","deployments_url":"https://api.github.com/repos/solanolabs/solano/deployments","created_at":"2014-10-05T23:44:34Z","updated_at":"2016-12-05T21:13:49Z","pushed_at":"2016-12-07T19:20:45Z","git_url":"git://github.com/solanolabs/solano.git","ssh_url":"git@github.com:solanolabs/solano.git","clone_url":"https://github.com/solanolabs/solano.git","svn_url":"https://github.com/solanolabs/solano","homepage":"","size":670,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":1,"forks":12,"open_issues":1,"watchers":8,"default_branch":"master"}},"base":{"label":"solanolabs:master","ref":"master","sha":"3dcfeb8abb15520c1a8c4d5f1f5f0fca5f761a14","user":{"login":"solanolabs","id":1934259,"avatar_url":"https://avatars.githubusercontent.com/u/1934259?v=3","gravatar_id":"","url":"https://api.github.com/users/solanolabs","html_url":"https://github.com/solanolabs","followers_url":"https://api.github.com/users/solanolabs/followers","following_url":"https://api.github.com/users/solanolabs/following{/other_user}","gists_url":"https://api.github.com/users/solanolabs/gists{/gist_id}","starred_url":"https://api.github.com/users/solanolabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solanolabs/subscriptions","organizations_url":"https://api.github.com/users/solanolabs/orgs","repos_url":"https://api.github.com/users/solanolabs/repos","events_url":"https://api.github.com/users/solanolabs/events{/privacy}","received_events_url":"https://api.github.com/users/solanolabs/received_events","type":"Organization","site_admin":false},"repo":{"id":24828982,"name":"solano","full_name":"solanolabs/solano","owner":{"login":"solanolabs","id":1934259,"avatar_url":"https://avatars.githubusercontent.com/u/1934259?v=3","gravatar_id":"","url":"https://api.github.com/users/solanolabs","html_url":"https://github.com/solanolabs","followers_url":"https://api.github.com/users/solanolabs/followers","following_url":"https://api.github.com/users/solanolabs/following{/other_user}","gists_url":"https://api.github.com/users/solanolabs/gists{/gist_id}","starred_url":"https://api.github.com/users/solanolabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solanolabs/subscriptions","organizations_url":"https://api.github.com/users/solanolabs/orgs","repos_url":"https://api.github.com/users/solanolabs/repos","events_url":"https://api.github.com/users/solanolabs/events{/privacy}","received_events_url":"https://api.github.com/users/solanolabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solanolabs/solano","description":"The Solano CI Command Line Interface","fork":false,"url":"https://api.github.com/repos/solanolabs/solano","forks_url":"https://api.github.com/repos/solanolabs/solano/forks","keys_url":"https://api.github.com/repos/solanolabs/solano/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solanolabs/solano/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solanolabs/solano/teams","hooks_url":"https://api.github.com/repos/solanolabs/solano/hooks","issue_events_url":"https://api.github.com/repos/solanolabs/solano/issues/events{/number}","events_url":"https://api.github.com/repos/solanolabs/solano/events","assignees_url":"https://api.github.com/repos/solanolabs/solano/assignees{/user}","branches_url":"https://api.github.com/repos/solanolabs/solano/branches{/branch}","tags_url":"https://api.github.com/repos/solanolabs/solano/tags","blobs_url":"https://api.github.com/repos/solanolabs/solano/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solanolabs/solano/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solanolabs/solano/git/refs{/sha}","trees_url":"https://api.github.com/repos/solanolabs/solano/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solanolabs/solano/statuses/{sha}","languages_url":"https://api.github.com/repos/solanolabs/solano/languages","stargazers_url":"https://api.github.com/repos/solanolabs/solano/stargazers","contributors_url":"https://api.github.com/repos/solanolabs/solano/contributors","subscribers_url":"https://api.github.com/repos/solanolabs/solano/subscribers","subscription_url":"https://api.github.com/repos/solanolabs/solano/subscription","commits_url":"https://api.github.com/repos/solanolabs/solano/commits{/sha}","git_commits_url":"https://api.github.com/repos/solanolabs/solano/git/commits{/sha}","comments_url":"https://api.github.com/repos/solanolabs/solano/comments{/number}","issue_comment_url":"https://api.github.com/repos/solanolabs/solano/issues/comments{/number}","contents_url":"https://api.github.com/repos/solanolabs/solano/contents/{+path}","compare_url":"https://api.github.com/repos/solanolabs/solano/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solanolabs/solano/merges","archive_url":"https://api.github.com/repos/solanolabs/solano/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solanolabs/solano/downloads","issues_url":"https://api.github.com/repos/solanolabs/solano/issues{/number}","pulls_url":"https://api.github.com/repos/solanolabs/solano/pulls{/number}","milestones_url":"https://api.github.com/repos/solanolabs/solano/milestones{/number}","notifications_url":"https://api.github.com/repos/solanolabs/solano/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solanolabs/solano/labels{/name}","releases_url":"https://api.github.com/repos/solanolabs/solano/releases{/id}","deployments_url":"https://api.github.com/repos/solanolabs/solano/deployments","created_at":"2014-10-05T23:44:34Z","updated_at":"2016-12-05T21:13:49Z","pushed_at":"2016-12-07T19:20:45Z","git_url":"git://github.com/solanolabs/solano.git","ssh_url":"git@github.com:solanolabs/solano.git","clone_url":"https://github.com/solanolabs/solano.git","svn_url":"https://github.com/solanolabs/solano","homepage":"","size":670,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":1,"forks":12,"open_issues":1,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/solanolabs/solano/pulls/57"},"html":{"href":"https://github.com/solanolabs/solano/pull/57"},"issue":{"href":"https://api.github.com/repos/solanolabs/solano/issues/57"},"comments":{"href":"https://api.github.com/repos/solanolabs/solano/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/solanolabs/solano/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/solanolabs/solano/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/solanolabs/solano/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/solanolabs/solano/statuses/b95f151c1ae1129599800db552e7f071b710d9a4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":46,"deletions":25,"changed_files":4}}
{"actor":{"display_login":"epmlys"}}