{"action":"opened","issue":{"url":"https://api.github.com/repos/KrauseFx/fastlane/issues/494","labels_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/494/comments","events_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/494/events","html_url":"https://github.com/KrauseFx/fastlane/issues/494","id":100314064,"number":494,"title":"Add multiple choice selection to the Prompt action","user":{"login":"czechboy0","id":2182121,"avatar_url":"https://avatars.githubusercontent.com/u/2182121?v=3","gravatar_id":"","url":"https://api.github.com/users/czechboy0","html_url":"https://github.com/czechboy0","followers_url":"https://api.github.com/users/czechboy0/followers","following_url":"https://api.github.com/users/czechboy0/following{/other_user}","gists_url":"https://api.github.com/users/czechboy0/gists{/gist_id}","starred_url":"https://api.github.com/users/czechboy0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czechboy0/subscriptions","organizations_url":"https://api.github.com/users/czechboy0/orgs","repos_url":"https://api.github.com/users/czechboy0/repos","events_url":"https://api.github.com/users/czechboy0/events{/privacy}","received_events_url":"https://api.github.com/users/czechboy0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-11T13:45:33Z","updated_at":"2015-08-11T13:45:33Z","closed_at":null,"body":"Used in [`line_manager`](https://github.com/KrauseFx/fastlane/blob/5e9510c98481388d75d8b519357a711e4f15187a/lib/fastlane/lane_manager.rb#L97), it'd be nice to add this utility to the Prompt action. The goal is to be able to call `selection = prompt(text: \"Which cat?\", choices: [\"happy\", \"fluffy\", \"furry\"])` and have the user be able to just input the index of the choice, getting back `fluffy` if I type `2`.\r\n\r\nThe user would see something like\r\n```\r\nWhich cat?\r\n1) happy\r\n2) fluffy\r\n3) furry\r\n```"}}