{"action":"created","issue":{"url":"https://api.github.com/repos/bookdown/Bookdown.Bookdown/issues/11","labels_url":"https://api.github.com/repos/bookdown/Bookdown.Bookdown/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/bookdown/Bookdown.Bookdown/issues/11/comments","events_url":"https://api.github.com/repos/bookdown/Bookdown.Bookdown/issues/11/events","html_url":"https://github.com/bookdown/Bookdown.Bookdown/issues/11","id":87515648,"number":11,"title":"Command-line flags","user":{"login":"weierophinney","id":25943,"avatar_url":"https://avatars.githubusercontent.com/u/25943?v=3","gravatar_id":"","url":"https://api.github.com/users/weierophinney","html_url":"https://github.com/weierophinney","followers_url":"https://api.github.com/users/weierophinney/followers","following_url":"https://api.github.com/users/weierophinney/following{/other_user}","gists_url":"https://api.github.com/users/weierophinney/gists{/gist_id}","starred_url":"https://api.github.com/users/weierophinney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weierophinney/subscriptions","organizations_url":"https://api.github.com/users/weierophinney/orgs","repos_url":"https://api.github.com/users/weierophinney/repos","events_url":"https://api.github.com/users/weierophinney/events{/privacy}","received_events_url":"https://api.github.com/users/weierophinney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-11T22:07:06Z","updated_at":"2015-06-13T19:05:18Z","closed_at":null,"body":"We're planning on using Bookdown for the documentation of the various Zend Framework components. One thing I'd like to be able to do is have a bare-minimum `bookdown.json` that specifies the title and content, and optionally the default target, and then specify the template (and possibly the target) via a command-line flag. This would allow us to have the \"official\" templates in a top-level repo that aggregates documentation from each of the components, but also allow developers to render the documentation using that template if it's checked out somewhere on their filesystem:\r\n\r\n```console\r\n$ bookdown --template=../documentation/templates/main.php doc/bookdown.json\r\n```\r\n\r\nOr, to override the target:\r\n\r\n```console\r\n$ bookdown \\\r\n> --template=../documentation/templates/main.php \\\r\n> --target=../documentation/html/ \\\r\n> doc/bookdown.json\r\n```"},"comment":{"url":"https://api.github.com/repos/bookdown/Bookdown.Bookdown/issues/comments/111740865","html_url":"https://github.com/bookdown/Bookdown.Bookdown/issues/11#issuecomment-111740865","issue_url":"https://api.github.com/repos/bookdown/Bookdown.Bookdown/issues/11","id":111740865,"user":{"login":"pmjones","id":25754,"avatar_url":"https://avatars.githubusercontent.com/u/25754?v=3","gravatar_id":"","url":"https://api.github.com/users/pmjones","html_url":"https://github.com/pmjones","followers_url":"https://api.github.com/users/pmjones/followers","following_url":"https://api.github.com/users/pmjones/following{/other_user}","gists_url":"https://api.github.com/users/pmjones/gists{/gist_id}","starred_url":"https://api.github.com/users/pmjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmjones/subscriptions","organizations_url":"https://api.github.com/users/pmjones/orgs","repos_url":"https://api.github.com/users/pmjones/repos","events_url":"https://api.github.com/users/pmjones/events{/privacy}","received_events_url":"https://api.github.com/users/pmjones/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T19:05:18Z","updated_at":"2015-06-13T19:05:18Z","body":"Agreed. Let me see what I can do. (Additionally, if you have time and inclination to work up a PR, I'll review it.)"}}