{"action":"created","issue":{"url":"https://api.github.com/repos/SBoudrias/Inquirer.js/issues/351","repository_url":"https://api.github.com/repos/SBoudrias/Inquirer.js","labels_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/issues/351/comments","events_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/issues/351/events","html_url":"https://github.com/SBoudrias/Inquirer.js/issues/351","id":145552613,"number":351,"title":"flexible defaults","user":{"login":"endquote","id":330010,"avatar_url":"https://avatars.githubusercontent.com/u/330010?v=3","gravatar_id":"","url":"https://api.github.com/users/endquote","html_url":"https://github.com/endquote","followers_url":"https://api.github.com/users/endquote/followers","following_url":"https://api.github.com/users/endquote/following{/other_user}","gists_url":"https://api.github.com/users/endquote/gists{/gist_id}","starred_url":"https://api.github.com/users/endquote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endquote/subscriptions","organizations_url":"https://api.github.com/users/endquote/orgs","repos_url":"https://api.github.com/users/endquote/repos","events_url":"https://api.github.com/users/endquote/events{/privacy}","received_events_url":"https://api.github.com/users/endquote/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-03T23:33:26Z","updated_at":"2016-04-03T23:34:36Z","closed_at":null,"body":"It would be nice if the `default` attribute of a prompt could be a function, in case the default should change based on some runtime condition."},"comment":{"url":"https://api.github.com/repos/SBoudrias/Inquirer.js/issues/comments/205076973","html_url":"https://github.com/SBoudrias/Inquirer.js/issues/351#issuecomment-205076973","issue_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/issues/351","id":205076973,"user":{"login":"SBoudrias","id":923865,"avatar_url":"https://avatars.githubusercontent.com/u/923865?v=3","gravatar_id":"","url":"https://api.github.com/users/SBoudrias","html_url":"https://github.com/SBoudrias","followers_url":"https://api.github.com/users/SBoudrias/followers","following_url":"https://api.github.com/users/SBoudrias/following{/other_user}","gists_url":"https://api.github.com/users/SBoudrias/gists{/gist_id}","starred_url":"https://api.github.com/users/SBoudrias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SBoudrias/subscriptions","organizations_url":"https://api.github.com/users/SBoudrias/orgs","repos_url":"https://api.github.com/users/SBoudrias/repos","events_url":"https://api.github.com/users/SBoudrias/events{/privacy}","received_events_url":"https://api.github.com/users/SBoudrias/received_events","type":"User","site_admin":false},"created_at":"2016-04-03T23:34:36Z","updated_at":"2016-04-03T23:34:36Z","body":"Isn't this the case already?"}}