{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/web-ext/issues/994","repository_url":"https://api.github.com/repos/mozilla/web-ext","labels_url":"https://api.github.com/repos/mozilla/web-ext/issues/994/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/web-ext/issues/994/comments","events_url":"https://api.github.com/repos/mozilla/web-ext/issues/994/events","html_url":"https://github.com/mozilla/web-ext/issues/994","id":241072083,"number":994,"title":"Don't show the command in error messages","user":{"login":"kumar303","id":55398,"avatar_url":"https://avatars1.githubusercontent.com/u/55398?v=4","gravatar_id":"","url":"https://api.github.com/users/kumar303","html_url":"https://github.com/kumar303","followers_url":"https://api.github.com/users/kumar303/followers","following_url":"https://api.github.com/users/kumar303/following{/other_user}","gists_url":"https://api.github.com/users/kumar303/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar303/subscriptions","organizations_url":"https://api.github.com/users/kumar303/orgs","repos_url":"https://api.github.com/users/kumar303/repos","events_url":"https://api.github.com/users/kumar303/events{/privacy}","received_events_url":"https://api.github.com/users/kumar303/received_events","type":"User","site_admin":false},"labels":[{"id":338863996,"url":"https://api.github.com/repos/mozilla/web-ext/labels/contrib:%20good%20first%20bug","name":"contrib: good first bug","color":"c9b4f9","default":false},{"id":539422459,"url":"https://api.github.com/repos/mozilla/web-ext/labels/contrib:%20mentor%20assigned","name":"contrib: mentor assigned","color":"c9b4f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-06T20:12:04Z","updated_at":"2017-08-22T01:36:45Z","closed_at":null,"body":"### Is this a feature request or a bug?\r\n\r\nfeature\r\n\r\n\r\n### What is the current behavior?\r\n<!--\r\n* If this is a bug, please explain how to reproduce the problem and\r\n  include the `web-ext` commands you ran.\r\n* Do not include sensitive information like API secrets.\r\n* Upload a text log created with the verbose flag if possible.\r\n* Upload a zip file of your web extension source if necessary.\r\n-->\r\n\r\nIf you encounter an error, web-ext will always prefix the command to the error message, like:\r\n\r\n```\r\n$ web-ext run --target firefox-android -v --android-device FA6AX0301736\r\n\r\nrun: UsageError: Select one of the packages using --firefox-apk\r\n\r\n```\r\n\r\n### What is the expected or desired behavior?\r\n\r\nI don't think we need to show the command. It can just be:\r\n\r\n```\r\n$ web-ext run --target firefox-android -v --android-device FA6AX0301736\r\n\r\nUsageError: Select one of the packages using --firefox-apk\r\n\r\n```\r\n\r\nThe command name is added as a [prefix here](https://github.com/mozilla/web-ext/blob/4a4641c561ab43d6293b1e00e1ad617e9134f4c3/src/program.js#L153). When removed, it should still be added for verbose mode, like:\r\n\r\n```js\r\nlog.debug(`Command executed: ${cmd}`);\r\n```\r\n\r\nOriginally, the command prefix was added to help in bug reports but really we always need a verbose log for debug reports anyway. Also, you can look at the command line to seed what command was run."},"comment":{"url":"https://api.github.com/repos/mozilla/web-ext/issues/comments/323895036","html_url":"https://github.com/mozilla/web-ext/issues/994#issuecomment-323895036","issue_url":"https://api.github.com/repos/mozilla/web-ext/issues/994","id":323895036,"user":{"login":"kumar303","id":55398,"avatar_url":"https://avatars1.githubusercontent.com/u/55398?v=4","gravatar_id":"","url":"https://api.github.com/users/kumar303","html_url":"https://github.com/kumar303","followers_url":"https://api.github.com/users/kumar303/followers","following_url":"https://api.github.com/users/kumar303/following{/other_user}","gists_url":"https://api.github.com/users/kumar303/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar303/subscriptions","organizations_url":"https://api.github.com/users/kumar303/orgs","repos_url":"https://api.github.com/users/kumar303/repos","events_url":"https://api.github.com/users/kumar303/events{/privacy}","received_events_url":"https://api.github.com/users/kumar303/received_events","type":"User","site_admin":false},"created_at":"2017-08-22T01:36:45Z","updated_at":"2017-08-22T01:36:45Z","body":"Hi @Divya063, yes it is."}}
{"actor":{"display_login":"kumar303"}}