{"action":"created","issue":{"url":"https://api.github.com/repos/wearerequired/traduttore/issues/95","repository_url":"https://api.github.com/repos/wearerequired/traduttore","labels_url":"https://api.github.com/repos/wearerequired/traduttore/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/wearerequired/traduttore/issues/95/comments","events_url":"https://api.github.com/repos/wearerequired/traduttore/issues/95/events","html_url":"https://github.com/wearerequired/traduttore/issues/95","id":377317246,"node_id":"MDU6SXNzdWUzNzczMTcyNDY=","number":95,"title":"CLI: Insufficient argument validation","user":{"login":"swissspidy","id":841956,"node_id":"MDQ6VXNlcjg0MTk1Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/841956?v=4","gravatar_id":"","url":"https://api.github.com/users/swissspidy","html_url":"https://github.com/swissspidy","followers_url":"https://api.github.com/users/swissspidy/followers","following_url":"https://api.github.com/users/swissspidy/following{/other_user}","gists_url":"https://api.github.com/users/swissspidy/gists{/gist_id}","starred_url":"https://api.github.com/users/swissspidy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swissspidy/subscriptions","organizations_url":"https://api.github.com/users/swissspidy/orgs","repos_url":"https://api.github.com/users/swissspidy/repos","events_url":"https://api.github.com/users/swissspidy/events{/privacy}","received_events_url":"https://api.github.com/users/swissspidy/received_events","type":"User","site_admin":false},"labels":[{"id":1110479891,"node_id":"MDU6TGFiZWwxMTEwNDc5ODkx","url":"https://api.github.com/repos/wearerequired/traduttore/labels/[Component]%20CLI","name":"[Component] CLI","color":"0e8a16","default":false},{"id":616062552,"node_id":"MDU6TGFiZWw2MTYwNjI1NTI=","url":"https://api.github.com/repos/wearerequired/traduttore/labels/[Type]%20Bug","name":"[Type] Bug","color":"ee0701","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-05T09:36:27Z","updated_at":"2018-11-09T06:37:42Z","closed_at":null,"author_association":"MEMBER","body":"**Issue Overview**\r\n\r\nRight now it's possible to run `wp traduttore build` or `wp traduttore update` without specifying a project.\r\n\r\nIn this case `$args[0]` is `null` and `$project` turns out to be some global one or something.\r\n\r\nThis should not be supported.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n1. Run `wp traduttore build`\r\n2. Notice that ZIP files are generated for some random translation set\r\n\r\n**Expected behavior**\r\nAn error message because no valid project has been passed.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/wearerequired/traduttore/issues/comments/437265132","html_url":"https://github.com/wearerequired/traduttore/issues/95#issuecomment-437265132","issue_url":"https://api.github.com/repos/wearerequired/traduttore/issues/95","id":437265132,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzI2NTEzMg==","user":{"login":"grappler","id":1785641,"node_id":"MDQ6VXNlcjE3ODU2NDE=","avatar_url":"https://avatars2.githubusercontent.com/u/1785641?v=4","gravatar_id":"","url":"https://api.github.com/users/grappler","html_url":"https://github.com/grappler","followers_url":"https://api.github.com/users/grappler/followers","following_url":"https://api.github.com/users/grappler/following{/other_user}","gists_url":"https://api.github.com/users/grappler/gists{/gist_id}","starred_url":"https://api.github.com/users/grappler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grappler/subscriptions","organizations_url":"https://api.github.com/users/grappler/orgs","repos_url":"https://api.github.com/users/grappler/repos","events_url":"https://api.github.com/users/grappler/events{/privacy}","received_events_url":"https://api.github.com/users/grappler/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T06:37:42Z","updated_at":"2018-11-09T06:37:42Z","author_association":"MEMBER","body":"Maybe if all of the translation zip files got deleted and need to be regenerated."}}
{"actor":{"display_login":"grappler"}}