select method

  1. @override
String select(
  1. String message, {
  2. required List<String> options,
})
override

Implementation

@override
String select(String message, {required List<String> options}) {
  final index = interact_cli.Select(
    prompt: message,
    options: options,
  ).interact();

  return options[index];
}