smurfix/flask-script — pull request #123 by archugs (2014-11-19 08:12:49+00:00)
Title: Prompt choices

function prompt_choices(name, choices, default=None): when passing a default value to the function, it was not returning the default value, but instead going into an infinite loop. I have written a fix for it so that it now returns a default value. Also I have written a couple of test cases for the function.