prompter_runhan 0.0.2 prompter_runhan: ^0.0.2 copied to clipboard
Library to create CLI wizards
import 'package:prompter_runhan/prompter_runhan.dart';
void main() {
final options = [
new Option('I want red', '#f00'),
new Option('I want blue', '#f00f'),
];
final prompter = new Prompter();
String colorCode = prompter.askMultiple('Select a color', options);
bool answer = prompter.askBinary('Do you like this lib?');
print(colorCode);
print(answer);
}