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

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

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

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

yes?(prompt)

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