{"action":"created","issue":{"url":"https://api.github.com/repos/getgrav/grav/issues/447","repository_url":"https://api.github.com/repos/getgrav/grav","labels_url":"https://api.github.com/repos/getgrav/grav/issues/447/labels{/name}","comments_url":"https://api.github.com/repos/getgrav/grav/issues/447/comments","events_url":"https://api.github.com/repos/getgrav/grav/issues/447/events","html_url":"https://github.com/getgrav/grav/issues/447","id":117413234,"number":447,"title":"Suggestion / Question Why don't we have cli hooks for pages","user":{"login":"CoolGoose","id":51180,"avatar_url":"https://avatars.githubusercontent.com/u/51180?v=3","gravatar_id":"","url":"https://api.github.com/users/CoolGoose","html_url":"https://github.com/CoolGoose","followers_url":"https://api.github.com/users/CoolGoose/followers","following_url":"https://api.github.com/users/CoolGoose/following{/other_user}","gists_url":"https://api.github.com/users/CoolGoose/gists{/gist_id}","starred_url":"https://api.github.com/users/CoolGoose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoolGoose/subscriptions","organizations_url":"https://api.github.com/users/CoolGoose/orgs","repos_url":"https://api.github.com/users/CoolGoose/repos","events_url":"https://api.github.com/users/CoolGoose/events{/privacy}","received_events_url":"https://api.github.com/users/CoolGoose/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/getgrav/grav/labels/enhancement","name":"enhancement","color":"fbca04"},{"url":"https://api.github.com/repos/getgrav/grav/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"w00fz","id":11734,"avatar_url":"https://avatars.githubusercontent.com/u/11734?v=3","gravatar_id":"","url":"https://api.github.com/users/w00fz","html_url":"https://github.com/w00fz","followers_url":"https://api.github.com/users/w00fz/followers","following_url":"https://api.github.com/users/w00fz/following{/other_user}","gists_url":"https://api.github.com/users/w00fz/gists{/gist_id}","starred_url":"https://api.github.com/users/w00fz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w00fz/subscriptions","organizations_url":"https://api.github.com/users/w00fz/orgs","repos_url":"https://api.github.com/users/w00fz/repos","events_url":"https://api.github.com/users/w00fz/events{/privacy}","received_events_url":"https://api.github.com/users/w00fz/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-11-17T18:00:06Z","updated_at":"2016-04-07T15:36:38Z","closed_at":"2015-11-19T00:50:44Z","body":"Hi guys, I'm trying to use getgrav as a static site generator, I'm mostly there (just needed to hack the page generation to take a page id), but it would be great to have a proper hook into the cli that plugins can connect to"},"comment":{"url":"https://api.github.com/repos/getgrav/grav/issues/comments/206957942","html_url":"https://github.com/getgrav/grav/issues/447#issuecomment-206957942","issue_url":"https://api.github.com/repos/getgrav/grav/issues/447","id":206957942,"user":{"login":"rhukster","id":1084697,"avatar_url":"https://avatars.githubusercontent.com/u/1084697?v=3","gravatar_id":"","url":"https://api.github.com/users/rhukster","html_url":"https://github.com/rhukster","followers_url":"https://api.github.com/users/rhukster/followers","following_url":"https://api.github.com/users/rhukster/following{/other_user}","gists_url":"https://api.github.com/users/rhukster/gists{/gist_id}","starred_url":"https://api.github.com/users/rhukster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhukster/subscriptions","organizations_url":"https://api.github.com/users/rhukster/orgs","repos_url":"https://api.github.com/users/rhukster/repos","events_url":"https://api.github.com/users/rhukster/events{/privacy}","received_events_url":"https://api.github.com/users/rhukster/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T15:36:38Z","updated_at":"2016-04-07T15:36:38Z","body":"BTW @CoolGoose you could make a plugin that actually provided it's own CLI command to do this.. That way it could actually be releaesd via GPM and not just a Gist.   Look at the `scss`, `login`, or `error` plugins which all have a CLI command.. to use them they are just:\r\n\r\n```\r\nbin/plugin <plugin_name> <cli_command> <command_options>\r\n```"}}