{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/1758","labels_url":"https://api.github.com/repos/openshift/origin/issues/1758/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/1758/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/1758/events","html_url":"https://github.com/openshift/origin/pull/1758","id":68824675,"number":1758,"title":"Add an edit command","user":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-16T01:43:27Z","updated_at":"2015-04-16T19:18:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/1758","html_url":"https://github.com/openshift/origin/pull/1758","diff_url":"https://github.com/openshift/origin/pull/1758.diff","patch_url":"https://github.com/openshift/origin/pull/1758.patch"},"body":"`osc edit` allows any resource on the server to be edited directly from\r\nthe CLI, which greatly simplifies the process of making changes to objects.\r\nThe edited object will be the API object in YAML format by default.\r\n\r\nThe behavior of this command is extremely similar to `git commit` or `git rebase`.\r\n\r\nExamples:\r\n\r\n    $ osc edit svc/kubernetes\r\n    # in vim, add a label to kubernetes service\r\n\r\n    $ osc edit dc/mydeploymentconfig\r\n    # change the image, triggers a deployment automatically\r\n\r\n    $ osc edit -f <previously saved version of a resource>\r\n    # could update the resource version via 3 way diff\r\n\r\nErrors will be captured to the comment at the top of the file and then\r\noutput to the user. Validation errors will allow the user to attempt\r\nto edit the file a second time.\r\n\r\n@jwforres review the experience, @deads2k the code"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/93819245","html_url":"https://github.com/openshift/origin/pull/1758#issuecomment-93819245","issue_url":"https://api.github.com/repos/openshift/origin/issues/1758","id":93819245,"user":{"login":"deads2k","id":8225098,"avatar_url":"https://avatars.githubusercontent.com/u/8225098?v=3","gravatar_id":"","url":"https://api.github.com/users/deads2k","html_url":"https://github.com/deads2k","followers_url":"https://api.github.com/users/deads2k/followers","following_url":"https://api.github.com/users/deads2k/following{/other_user}","gists_url":"https://api.github.com/users/deads2k/gists{/gist_id}","starred_url":"https://api.github.com/users/deads2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deads2k/subscriptions","organizations_url":"https://api.github.com/users/deads2k/orgs","repos_url":"https://api.github.com/users/deads2k/repos","events_url":"https://api.github.com/users/deads2k/events{/privacy}","received_events_url":"https://api.github.com/users/deads2k/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T19:18:18Z","updated_at":"2015-04-16T19:18:18Z","body":"Any chance of getting this name updated: https://github.com/openshift/origin/pull/1758#discussion_r28530706?  It's not obvious from a quick scan that the meaning of `info` suddenly changed to something different, but related.\r\n\r\nOtherwise, lgtm."}}