{"action":"opened","issue":{"url":"https://api.github.com/repos/odeke-em/drive/issues/460","labels_url":"https://api.github.com/repos/odeke-em/drive/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/odeke-em/drive/issues/460/comments","events_url":"https://api.github.com/repos/odeke-em/drive/issues/460/events","html_url":"https://github.com/odeke-em/drive/issues/460","id":115224209,"number":460,"title":"drive should fail (non-zero exit status) if the user cancels an operation","user":{"login":"smblott-github","id":2641335,"avatar_url":"https://avatars.githubusercontent.com/u/2641335?v=3","gravatar_id":"","url":"https://api.github.com/users/smblott-github","html_url":"https://github.com/smblott-github","followers_url":"https://api.github.com/users/smblott-github/followers","following_url":"https://api.github.com/users/smblott-github/following{/other_user}","gists_url":"https://api.github.com/users/smblott-github/gists{/gist_id}","starred_url":"https://api.github.com/users/smblott-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smblott-github/subscriptions","organizations_url":"https://api.github.com/users/smblott-github/orgs","repos_url":"https://api.github.com/users/smblott-github/repos","events_url":"https://api.github.com/users/smblott-github/events{/privacy}","received_events_url":"https://api.github.com/users/smblott-github/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-05T07:29:02Z","updated_at":"2015-11-05T07:29:02Z","closed_at":null,"body":"When asked to confirm an operation -- `Y/n` -- if the user hits `n`, then the exit status should be non-zero.\r\n\r\n- The operation did not complete successfully, so `0` is inappropriate.\r\n- The \"quick hack\" in #459 doesn't work correctly because of this.\r\n\r\n(@odeke-em... I'm new to drive, so I'm just discovering the things which don't work well with my workflow.    I hope you don't mind all of the issues.)"}}