{"action":"created","issue":{"url":"https://api.github.com/repos/mitsuhiko/click/issues/292","labels_url":"https://api.github.com/repos/mitsuhiko/click/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/mitsuhiko/click/issues/292/comments","events_url":"https://api.github.com/repos/mitsuhiko/click/issues/292/events","html_url":"https://github.com/mitsuhiko/click/issues/292","id":56697999,"number":292,"title":"A completely global ctx object","user":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitsuhiko/click/labels/contrib-idea","name":"contrib-idea","color":"006b75"},{"url":"https://api.github.com/repos/mitsuhiko/click/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-02-05T17:01:49Z","updated_at":"2015-07-23T15:23:05Z","closed_at":"2015-07-23T15:23:05Z","body":"As discussed with @mitsuhiko in IRC, Click should support a global context object, for the same reason they're in Flask: Explicitly passing on the context object to utility functions is extremely verbose.\r\n\r\nhttps://github.com/untitaker/vdirsyncer/blob/master/vdirsyncer/doubleclick.py implements this in some way. Note that unlike Flask, this object is not local to the current thread. That wouldn't make much sense for CLI tools anyway."},"comment":{"url":"https://api.github.com/repos/mitsuhiko/click/issues/comments/124138579","html_url":"https://github.com/mitsuhiko/click/issues/292#issuecomment-124138579","issue_url":"https://api.github.com/repos/mitsuhiko/click/issues/292","id":124138579,"user":{"login":"untitaker","id":837573,"avatar_url":"https://avatars.githubusercontent.com/u/837573?v=3","gravatar_id":"","url":"https://api.github.com/users/untitaker","html_url":"https://github.com/untitaker","followers_url":"https://api.github.com/users/untitaker/followers","following_url":"https://api.github.com/users/untitaker/following{/other_user}","gists_url":"https://api.github.com/users/untitaker/gists{/gist_id}","starred_url":"https://api.github.com/users/untitaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untitaker/subscriptions","organizations_url":"https://api.github.com/users/untitaker/orgs","repos_url":"https://api.github.com/users/untitaker/repos","events_url":"https://api.github.com/users/untitaker/events{/privacy}","received_events_url":"https://api.github.com/users/untitaker/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T15:23:05Z","updated_at":"2015-07-23T15:23:05Z","body":"https://github.com/click-contrib/click-threading"}}