View Source Igniter.Util.IO (igniter v0.3.49)

Helpers for working with input/output

Summary

Functions

Prompts the user to select from a list, repeating until an item is selected

Prompts the user for yes or no, repeating the prompt until a satisfactory answer is given

Functions

Link to this function

select(prompt, items, opts \\ [])

View Source

Prompts the user to select from a list, repeating until an item is selected

Options

  • display: A function that takes an item and returns a string to display

Prompts the user for yes or no, repeating the prompt until a satisfactory answer is given