{"action":"created","issue":{"url":"https://api.github.com/repos/spf13/cobra/issues/220","labels_url":"https://api.github.com/repos/spf13/cobra/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/spf13/cobra/issues/220/comments","events_url":"https://api.github.com/repos/spf13/cobra/issues/220/events","html_url":"https://github.com/spf13/cobra/pull/220","id":125556032,"number":220,"title":"Issue #219: added PreRunChain and PostRunChain hooks","user":{"login":"algrebe","id":1938871,"avatar_url":"https://avatars.githubusercontent.com/u/1938871?v=3","gravatar_id":"","url":"https://api.github.com/users/algrebe","html_url":"https://github.com/algrebe","followers_url":"https://api.github.com/users/algrebe/followers","following_url":"https://api.github.com/users/algrebe/following{/other_user}","gists_url":"https://api.github.com/users/algrebe/gists{/gist_id}","starred_url":"https://api.github.com/users/algrebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algrebe/subscriptions","organizations_url":"https://api.github.com/users/algrebe/orgs","repos_url":"https://api.github.com/users/algrebe/repos","events_url":"https://api.github.com/users/algrebe/events{/privacy}","received_events_url":"https://api.github.com/users/algrebe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-08T07:14:34Z","updated_at":"2016-01-12T08:50:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spf13/cobra/pulls/220","html_url":"https://github.com/spf13/cobra/pull/220","diff_url":"https://github.com/spf13/cobra/pull/220.diff","patch_url":"https://github.com/spf13/cobra/pull/220.patch"},"body":"PreRunChain functions run in the order of root to child.\r\nPostRunChain functions run in the order of child to root.\r\n\r\nThe overall exection order for a command is\r\nPreRunChain\r\nPersistentPreRun\r\nPreRun\r\nRun\r\nPostRun\r\nPersistentPostRun\r\nPostRunChain\r\n\r\nThe following gist describes the usage and functionality\r\nhttps://gist.github.com/algrebe/23cc8bf4739a129a6d0d"},"comment":{"url":"https://api.github.com/repos/spf13/cobra/issues/comments/170841427","html_url":"https://github.com/spf13/cobra/pull/220#issuecomment-170841427","issue_url":"https://api.github.com/repos/spf13/cobra/issues/220","id":170841427,"user":{"login":"mitake","id":1173955,"avatar_url":"https://avatars.githubusercontent.com/u/1173955?v=3","gravatar_id":"","url":"https://api.github.com/users/mitake","html_url":"https://github.com/mitake","followers_url":"https://api.github.com/users/mitake/followers","following_url":"https://api.github.com/users/mitake/following{/other_user}","gists_url":"https://api.github.com/users/mitake/gists{/gist_id}","starred_url":"https://api.github.com/users/mitake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitake/subscriptions","organizations_url":"https://api.github.com/users/mitake/orgs","repos_url":"https://api.github.com/users/mitake/repos","events_url":"https://api.github.com/users/mitake/events{/privacy}","received_events_url":"https://api.github.com/users/mitake/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T08:50:57Z","updated_at":"2016-01-12T08:50:57Z","body":"@algrebe thanks for your reply, I'm looking forward to seeing next news!"}}