(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.
One wrapper function for click.prompt to show choices to the user.
One wrapper function for click . prompt to show choices to the user .
def prompt_choices(name, choices):
    """One wrapper function for click.prompt to show choices to the user.
    """
    return click.prompt(name + ' - (%s)' % ', '.join(choices),
                        type=click.Choice(choices), default=choices[0])
def prompt_choices ( name , choices ) : return click . prompt ( name + ' - (%s)' % ', ' . join ( choices ) , type = click . Choice ( choices ) , default = choices [ 0 ] )