commons/functions/get_input library

Functions

getInput(String message, {String onEmpty = "Please provide a valid input to proceed!", String? defaultValue, String? validator(String input)?, String onValidated(String input)?}) String
Gets user input from the command line.