{"action":"opened","issue":{"url":"https://api.github.com/repos/kbknapp/clap-rs/issues/39","labels_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/39/comments","events_url":"https://api.github.com/repos/kbknapp/clap-rs/issues/39/events","html_url":"https://github.com/kbknapp/clap-rs/issues/39","id":64997183,"number":39,"title":"Limit values of Options or Positional Arguments","user":{"login":"kbknapp","id":6942134,"avatar_url":"https://avatars.githubusercontent.com/u/6942134?v=3","gravatar_id":"","url":"https://api.github.com/users/kbknapp","html_url":"https://github.com/kbknapp","followers_url":"https://api.github.com/users/kbknapp/followers","following_url":"https://api.github.com/users/kbknapp/following{/other_user}","gists_url":"https://api.github.com/users/kbknapp/gists{/gist_id}","starred_url":"https://api.github.com/users/kbknapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbknapp/subscriptions","organizations_url":"https://api.github.com/users/kbknapp/orgs","repos_url":"https://api.github.com/users/kbknapp/repos","events_url":"https://api.github.com/users/kbknapp/events{/privacy}","received_events_url":"https://api.github.com/users/kbknapp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kbknapp/clap-rs/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/kbknapp/clap-rs/labels/feature%20request","name":"feature request","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-28T22:26:09Z","updated_at":"2015-03-28T22:26:09Z","closed_at":null,"body":"Add something like a `.possible_values(Vec<&str>)` which denotes all the possible values for an option, and at runtime ensures one of those values was used, or fails with a usage string."}}