def prompt_choices(name, choices):
    return click.prompt(name + ' - (%s)' % ', '.join(choices),
                        type=click.Choice(choices), default=choices[0])
One wrapper function for click.prompt to show choices to the user.
dataset/ETHPy150Open fengsp/plan/plan/commands.py/prompt_choices