def prompt_for_input_from_options()

in scripts/utils/prompter.py [0:0]


    def prompt_for_input_from_options(prompt: str, formatted_options: List, values: List):
        print(f"{Prompter.bcolors.OKCYAN}{prompt}{Prompter.bcolors.ENDC}")
        for i in range(len(formatted_options)):
            print(f"\t{str(i)}: {formatted_options[i]}")

        while True:
            selection = input("Selection: ")
            try:
                selNum = int(selection)
                if selNum in range(len(formatted_options)):
                    return values[selNum]
                else:
                    Prompter.print_red("Please select a valid option")
            except ValueError as e:
                Prompter.print_red("Please input a number")