prompter_ue 0.0.2 prompter_ue: ^0.0.2 copied to clipboard
A basic library to create CLI wizards using the core of Dart Language.
import 'package:prompter_ue/prompter_ue.dart';
void main() {
final options = [
Option('I want red', '#f00'),
Option('I want blue', '#00f'),
];
final prompter = Prompter();
String colorCode = prompter.askMultiple('Select the color', options);
bool answer = prompter.askBinary('Do you like this lib?');
print(colorCode);
print(answer);
}