prompter_allexradu 0.0.2 prompter_allexradu: ^0.0.2 copied to clipboard
Library to create CLI wizzards
import 'package:prompter_allexradu/prompter_allexradu.dart';
void main() {
final options = [
new Option('I want red', '#f00'),
new Option('I want blue', '#00f')
];
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);
}