{"action":"created","issue":{"url":"https://api.github.com/repos/ta2edchimp/opt-cli/issues/13","repository_url":"https://api.github.com/repos/ta2edchimp/opt-cli","labels_url":"https://api.github.com/repos/ta2edchimp/opt-cli/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/ta2edchimp/opt-cli/issues/13/comments","events_url":"https://api.github.com/repos/ta2edchimp/opt-cli/issues/13/events","html_url":"https://github.com/ta2edchimp/opt-cli/issues/13","id":142845771,"number":13,"title":"Updated README","user":{"login":"sarbbottam","id":949380,"avatar_url":"https://avatars.githubusercontent.com/u/949380?v=3","gravatar_id":"","url":"https://api.github.com/users/sarbbottam","html_url":"https://github.com/sarbbottam","followers_url":"https://api.github.com/users/sarbbottam/followers","following_url":"https://api.github.com/users/sarbbottam/following{/other_user}","gists_url":"https://api.github.com/users/sarbbottam/gists{/gist_id}","starred_url":"https://api.github.com/users/sarbbottam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarbbottam/subscriptions","organizations_url":"https://api.github.com/users/sarbbottam/orgs","repos_url":"https://api.github.com/users/sarbbottam/repos","events_url":"https://api.github.com/users/sarbbottam/events{/privacy}","received_events_url":"https://api.github.com/users/sarbbottam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-23T03:08:54Z","updated_at":"2016-03-23T21:19:44Z","closed_at":null,"body":"Fix typo at \r\n\r\n```\r\n\"ghooks\": {\r\n  \"precommit\": \"...\", // should be pre-commit\r\n  ...\r\n}\r\n```\r\n\r\nMay be the usage could be explained a bit more precisely, best would to point to an example project."},"comment":{"url":"https://api.github.com/repos/ta2edchimp/opt-cli/issues/comments/200548460","html_url":"https://github.com/ta2edchimp/opt-cli/issues/13#issuecomment-200548460","issue_url":"https://api.github.com/repos/ta2edchimp/opt-cli/issues/13","id":200548460,"user":{"login":"ta2edchimp","id":262436,"avatar_url":"https://avatars.githubusercontent.com/u/262436?v=3","gravatar_id":"","url":"https://api.github.com/users/ta2edchimp","html_url":"https://github.com/ta2edchimp","followers_url":"https://api.github.com/users/ta2edchimp/followers","following_url":"https://api.github.com/users/ta2edchimp/following{/other_user}","gists_url":"https://api.github.com/users/ta2edchimp/gists{/gist_id}","starred_url":"https://api.github.com/users/ta2edchimp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ta2edchimp/subscriptions","organizations_url":"https://api.github.com/users/ta2edchimp/orgs","repos_url":"https://api.github.com/users/ta2edchimp/repos","events_url":"https://api.github.com/users/ta2edchimp/events{/privacy}","received_events_url":"https://api.github.com/users/ta2edchimp/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T21:19:44Z","updated_at":"2016-03-23T21:19:44Z","body":">I guess `opt-in` is not limited to `ghooks`, but one could use it in `npm scripts` too.\r\n\r\nYep, as long as it is run within an `npm scripts` context in general (as are the git hooks managed by `ghooks`), it does.\r\n\r\nI also noticed, `opt-cli` also makes for a handy little tool globally available in one's shell, when installed globally (`npm i -g opt-cli`) :grin: "}}