{"action":"opened","issue":{"url":"https://api.github.com/repos/yeoman/yeoman/issues/1537","labels_url":"https://api.github.com/repos/yeoman/yeoman/issues/1537/labels{/name}","comments_url":"https://api.github.com/repos/yeoman/yeoman/issues/1537/comments","events_url":"https://api.github.com/repos/yeoman/yeoman/issues/1537/events","html_url":"https://github.com/yeoman/yeoman/issues/1537","id":105022200,"number":1537,"title":"Is there a way to prevent the base generator from getting called if I specify an invalid sub-generator name?","user":{"login":"greymind","id":4106776,"avatar_url":"https://avatars.githubusercontent.com/u/4106776?v=3","gravatar_id":"","url":"https://api.github.com/users/greymind","html_url":"https://github.com/greymind","followers_url":"https://api.github.com/users/greymind/followers","following_url":"https://api.github.com/users/greymind/following{/other_user}","gists_url":"https://api.github.com/users/greymind/gists{/gist_id}","starred_url":"https://api.github.com/users/greymind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greymind/subscriptions","organizations_url":"https://api.github.com/users/greymind/orgs","repos_url":"https://api.github.com/users/greymind/repos","events_url":"https://api.github.com/users/greymind/events{/privacy}","received_events_url":"https://api.github.com/users/greymind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-05T11:35:52Z","updated_at":"2015-09-05T11:35:52Z","closed_at":null,"body":"Hey everyone!\r\n\r\nSay I have a base generator `generator-supergen` and a sub-generator `supergen:alpha`.\r\n\r\nIf I erroneously type `yo supergen:beta`, the base generator gets called, which makes this command equivalent to `yo supergen`. This is not desirable behavior for me.\r\n\r\nIs there a way to find out what the command line call was or something, so I can handle it in the base generator or something similar to that effect?\r\n\r\n\r\nThanks!\r\nBalki"}}