{"action":"opened","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5884","repository_url":"https://api.github.com/repos/ember-cli/ember-cli","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5884/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5884/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/5884/events","html_url":"https://github.com/ember-cli/ember-cli/issues/5884","id":153487148,"number":5884,"title":"Allow `ember destroy some-addon-name`","user":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars.githubusercontent.com/u/12637?v=3","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-06T16:20:00Z","updated_at":"2016-05-06T16:20:00Z","closed_at":null,"body":"It should be possible to run `ember destroy some-addon` (if only for testing) destruction of an addon's default blueprint.\r\n\r\nWith `ember generate`, we defer to the blueprint itself (where it is common for the addon to implement a `normalizeEntity` function that allows no entity name to be specified) to throw an error if the entity name is not valid, see:\r\n\r\n* https://github.com/ember-cli/ember-cli/blob/master/lib/models/blueprint.js#L441-L445\r\n* https://github.com/ember-cli/ember-cli-normalize-entity-name/blob/master/index.js#L7-L11\r\n\r\nHowever with `ember destroy`, we throw eagerly in the command, see:\r\n\r\n* https://github.com/ember-cli/ember-cli/blob/87154e7975c6be13375bb7fed977a9f63ddccb19/lib/commands/destroy.js#L40-L44"}}