{"action":"created","issue":{"url":"https://api.github.com/repos/cybertk/abao/issues/77","repository_url":"https://api.github.com/repos/cybertk/abao","labels_url":"https://api.github.com/repos/cybertk/abao/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/cybertk/abao/issues/77/comments","events_url":"https://api.github.com/repos/cybertk/abao/issues/77/events","html_url":"https://github.com/cybertk/abao/issues/77","id":133548323,"number":77,"title":"Generate skeleton hooks file from CLI","user":{"login":"plroebuck","id":16603429,"avatar_url":"https://avatars.githubusercontent.com/u/16603429?v=3","gravatar_id":"","url":"https://api.github.com/users/plroebuck","html_url":"https://github.com/plroebuck","followers_url":"https://api.github.com/users/plroebuck/followers","following_url":"https://api.github.com/users/plroebuck/following{/other_user}","gists_url":"https://api.github.com/users/plroebuck/gists{/gist_id}","starred_url":"https://api.github.com/users/plroebuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plroebuck/subscriptions","organizations_url":"https://api.github.com/users/plroebuck/orgs","repos_url":"https://api.github.com/users/plroebuck/repos","events_url":"https://api.github.com/users/plroebuck/events{/privacy}","received_events_url":"https://api.github.com/users/plroebuck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cybertk/abao/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-14T15:37:35Z","updated_at":"2016-03-03T15:15:08Z","closed_at":null,"body":"Add a cmd-line option to generate a file(s) containing skeleton hooks for all routes.\r\n"},"comment":{"url":"https://api.github.com/repos/cybertk/abao/issues/comments/191809028","html_url":"https://github.com/cybertk/abao/issues/77#issuecomment-191809028","issue_url":"https://api.github.com/repos/cybertk/abao/issues/77","id":191809028,"user":{"login":"plroebuck","id":16603429,"avatar_url":"https://avatars.githubusercontent.com/u/16603429?v=3","gravatar_id":"","url":"https://api.github.com/users/plroebuck","html_url":"https://github.com/plroebuck","followers_url":"https://api.github.com/users/plroebuck/followers","following_url":"https://api.github.com/users/plroebuck/following{/other_user}","gists_url":"https://api.github.com/users/plroebuck/gists{/gist_id}","starred_url":"https://api.github.com/users/plroebuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plroebuck/subscriptions","organizations_url":"https://api.github.com/users/plroebuck/orgs","repos_url":"https://api.github.com/users/plroebuck/repos","events_url":"https://api.github.com/users/plroebuck/events{/privacy}","received_events_url":"https://api.github.com/users/plroebuck/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T15:15:08Z","updated_at":"2016-03-03T15:15:08Z","body":"I took a glance. Thanks for the kickstart. It's a decent prototype, but there's more to it.\r\nI believe it should:\r\n\r\n1) require `chai` assertion module by default so we don't have to explain that it will be required.\r\n2) include 'beforeAll' and 'afterAll' hooks\r\n2) for at least one case, add \"commented out\" example showing recommended \"how to\".\r\n3) use template engine instead of hardcoding.\r\n4) error checking. If the file exists already, we should abort. Should `--force` flag override?\r\n5) output format? How should it determine whether to generate CoffeeScript or JavaScript?\r\n\r\nHaven't had time to work through these thoughts yet, but weekend is coming.\r\nSorry for delayed response, and thanks for your effort.\r\n"}}