{"action":"created","issue":{"url":"https://api.github.com/repos/alecthomas/kingpin/issues/96","labels_url":"https://api.github.com/repos/alecthomas/kingpin/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/alecthomas/kingpin/issues/96/comments","events_url":"https://api.github.com/repos/alecthomas/kingpin/issues/96/events","html_url":"https://github.com/alecthomas/kingpin/pull/96","id":124617121,"number":96,"title":"prefer user-defined env var value over application-hardcoded defaults","user":{"login":"bjaglin","id":349077,"avatar_url":"https://avatars.githubusercontent.com/u/349077?v=3","gravatar_id":"","url":"https://api.github.com/users/bjaglin","html_url":"https://github.com/bjaglin","followers_url":"https://api.github.com/users/bjaglin/followers","following_url":"https://api.github.com/users/bjaglin/following{/other_user}","gists_url":"https://api.github.com/users/bjaglin/gists{/gist_id}","starred_url":"https://api.github.com/users/bjaglin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjaglin/subscriptions","organizations_url":"https://api.github.com/users/bjaglin/orgs","repos_url":"https://api.github.com/users/bjaglin/repos","events_url":"https://api.github.com/users/bjaglin/events{/privacy}","received_events_url":"https://api.github.com/users/bjaglin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-02T23:24:32Z","updated_at":"2016-01-02T23:36:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alecthomas/kingpin/pulls/96","html_url":"https://github.com/alecthomas/kingpin/pull/96","diff_url":"https://github.com/alecthomas/kingpin/pull/96.diff","patch_url":"https://github.com/alecthomas/kingpin/pull/96.patch"},"body":"My interpretation of the current [`.Envar()` contract](https://github.com/alecthomas/kingpin/blob/1895ce4fc0d6d75c01a7f1a728571250c7da6866/flags.go#L269-L270)... I can't think of a use case where `.Defaut()` should have precedence, otherwise it's just impossible to use env vars on a flag with a default value."},"comment":{"url":"https://api.github.com/repos/alecthomas/kingpin/issues/comments/168438651","html_url":"https://github.com/alecthomas/kingpin/pull/96#issuecomment-168438651","issue_url":"https://api.github.com/repos/alecthomas/kingpin/issues/96","id":168438651,"user":{"login":"alecthomas","id":41767,"avatar_url":"https://avatars.githubusercontent.com/u/41767?v=3","gravatar_id":"","url":"https://api.github.com/users/alecthomas","html_url":"https://github.com/alecthomas","followers_url":"https://api.github.com/users/alecthomas/followers","following_url":"https://api.github.com/users/alecthomas/following{/other_user}","gists_url":"https://api.github.com/users/alecthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/alecthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecthomas/subscriptions","organizations_url":"https://api.github.com/users/alecthomas/orgs","repos_url":"https://api.github.com/users/alecthomas/repos","events_url":"https://api.github.com/users/alecthomas/events{/privacy}","received_events_url":"https://api.github.com/users/alecthomas/received_events","type":"User","site_admin":false},"created_at":"2016-01-02T23:36:18Z","updated_at":"2016-01-02T23:36:18Z","body":"Makes sense to me."}}