prompter_mg 0.0.1 prompter_mg: ^0.0.1 copied to clipboard
Library to create CLI Wixard
import 'package:prompter_mg/prompter_mg.dart';
void main () {
var options = [
new Option('I want red', '#f00'),
new Option('I want blue', '#00f')
];
final prompter = new Prompter();
String colorCode = prompter.askMultiple('Slect a color', options);
bool response =prompter.askBinary('do you like this lib');
print (colorCode);
print (response);
}