{"action":"created","issue":{"url":"https://api.github.com/repos/riboseinc/digicert-cli/issues/53","repository_url":"https://api.github.com/repos/riboseinc/digicert-cli","labels_url":"https://api.github.com/repos/riboseinc/digicert-cli/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/riboseinc/digicert-cli/issues/53/comments","events_url":"https://api.github.com/repos/riboseinc/digicert-cli/issues/53/events","html_url":"https://github.com/riboseinc/digicert-cli/pull/53","id":265195838,"number":53,"title":"Fix certificate download related issue","user":{"login":"abunashir","id":1220911,"avatar_url":"https://avatars2.githubusercontent.com/u/1220911?v=4","gravatar_id":"","url":"https://api.github.com/users/abunashir","html_url":"https://github.com/abunashir","followers_url":"https://api.github.com/users/abunashir/followers","following_url":"https://api.github.com/users/abunashir/following{/other_user}","gists_url":"https://api.github.com/users/abunashir/gists{/gist_id}","starred_url":"https://api.github.com/users/abunashir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abunashir/subscriptions","organizations_url":"https://api.github.com/users/abunashir/orgs","repos_url":"https://api.github.com/users/abunashir/repos","events_url":"https://api.github.com/users/abunashir/events{/privacy}","received_events_url":"https://api.github.com/users/abunashir/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-13T07:35:13Z","updated_at":"2017-10-13T07:41:19Z","closed_at":"2017-10-13T07:38:24Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/riboseinc/digicert-cli/pulls/53","html_url":"https://github.com/riboseinc/digicert-cli/pull/53","diff_url":"https://github.com/riboseinc/digicert-cli/pull/53.diff","patch_url":"https://github.com/riboseinc/digicert-cli/pull/53.patch"},"body":"The `certificate download` command expects us to provide the order id or certificate id, but does not necessarily force us to do anything and that's why it was throwing issues like we have on the Issue: #48.\n\nThis commit fixes it by adding a help method that will check either one of those option are exits, and it not then it will print out that custom message before calling the API.\n\nThis also add another error handling for invalid resource id, so if the user tries to download an invalid resource then it will print out the invalid resource related message."},"comment":{"url":"https://api.github.com/repos/riboseinc/digicert-cli/issues/comments/336375868","html_url":"https://github.com/riboseinc/digicert-cli/pull/53#issuecomment-336375868","issue_url":"https://api.github.com/repos/riboseinc/digicert-cli/issues/53","id":336375868,"user":{"login":"abunashir","id":1220911,"avatar_url":"https://avatars2.githubusercontent.com/u/1220911?v=4","gravatar_id":"","url":"https://api.github.com/users/abunashir","html_url":"https://github.com/abunashir","followers_url":"https://api.github.com/users/abunashir/followers","following_url":"https://api.github.com/users/abunashir/following{/other_user}","gists_url":"https://api.github.com/users/abunashir/gists{/gist_id}","starred_url":"https://api.github.com/users/abunashir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abunashir/subscriptions","organizations_url":"https://api.github.com/users/abunashir/orgs","repos_url":"https://api.github.com/users/abunashir/repos","events_url":"https://api.github.com/users/abunashir/events{/privacy}","received_events_url":"https://api.github.com/users/abunashir/received_events","type":"User","site_admin":false},"created_at":"2017-10-13T07:41:19Z","updated_at":"2017-10-13T07:41:19Z","author_association":"CONTRIBUTOR","body":"Sure @ronaldtse, most of the places I think we already have the required option, but in this case, it was bit tricky, as `Thor` does not directly support this kind of required for either one of the options but I will double check everything, Thanks!"}}
{"actor":{"display_login":"abunashir"}}