prompter_009 0.0.1 prompter_009: ^0.0.1 copied to clipboard
Libray to create CLI wizards
import 'package:prompter_009/prompter_009.dart';
//TOOO
//Terminal - printscreen not working
void main() {
//var terminal = new Terminal();
//terminal.clearScreen();
final options = [
new Option('I want red', '#f00'),
new Option('I want blue', '00f')
];
final prompter = new Prompter();
String colorCode = prompter.askMultiple('Select a colr', options);
bool answer = prompter.askBinary('DO you like this lib?');
print(colorCode);
print(answer);
}