{"action":"closed","issue":{"url":"https://api.github.com/repos/PolymerLabs/generator-polymer-init/issues/7","repository_url":"https://api.github.com/repos/PolymerLabs/generator-polymer-init","labels_url":"https://api.github.com/repos/PolymerLabs/generator-polymer-init/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/PolymerLabs/generator-polymer-init/issues/7/comments","events_url":"https://api.github.com/repos/PolymerLabs/generator-polymer-init/issues/7/events","html_url":"https://github.com/PolymerLabs/generator-polymer-init/issues/7","id":152840996,"number":7,"title":"display error message when element name does not include a dash","user":{"login":"FredKSchott","id":622227,"avatar_url":"https://avatars.githubusercontent.com/u/622227?v=3","gravatar_id":"","url":"https://api.github.com/users/FredKSchott","html_url":"https://github.com/FredKSchott","followers_url":"https://api.github.com/users/FredKSchott/followers","following_url":"https://api.github.com/users/FredKSchott/following{/other_user}","gists_url":"https://api.github.com/users/FredKSchott/gists{/gist_id}","starred_url":"https://api.github.com/users/FredKSchott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredKSchott/subscriptions","organizations_url":"https://api.github.com/users/FredKSchott/orgs","repos_url":"https://api.github.com/users/FredKSchott/repos","events_url":"https://api.github.com/users/FredKSchott/events{/privacy}","received_events_url":"https://api.github.com/users/FredKSchott/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-03T18:20:19Z","updated_at":"2016-05-03T22:00:10Z","closed_at":"2016-05-03T22:00:10Z","body":"(originally filed by @kaycebasques https://github.com/Polymer/polytool/issues/39)\r\n\r\n1. polytool init\r\n1. select `element`\r\n1. type `myelement`\r\n1. press `enter` key \r\n\r\nResult: `polytool` correctly rejects the name, but does not indicate why the name was rejected.\r\n\r\nExpected: `polytool` rejects the name and prints an error message indicating that the element name was rejected because the custom elements spec requires that element names include a dash "}}