def prompt_choice_for_config(cookiecutter_dict, env, key, options, no_input):
 rendered_options = [render_variable(env, raw, cookiecutter_dict) for raw in options]
 if no_input:
  return rendered_options[0]
 return read_user_choice(key, rendered_options)

def prompt_choice_for_config ( cookiecutter_dict , env , key , options , no_input ) : rendered_options = [ render_variable ( env , raw , cookiecutter_dict ) for raw in options ] if no_input : return rendered_options [ 0 ] return read_user_choice ( key , rendered_options )
prompt the user which option to choose from the given .