Crate simple_cli

source ·

Functions

Clears all printed lines from the terminal.
Prompts the user for a number input and returns it.
Prompts the user for a string input and returns it.
Displays a paginated list of items.
Displays a list of items.
Prompts the user to input a number from a selection of number choices, and returns the number the user selected. Panics if there are no numbers in the vector passed into the function.
Prompts the user to input a string from a selection of string choices, and returns the string the user selected. Panics if there are no strings in the choices vector passed into the function.