prompter_ndf 0.0.1 prompter_ndf: ^0.0.1 copied to clipboard
Library to create CLI for Wizards
import 'package:prompter_ndf/prompter_ndf.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('What is your favorate color?', options);
bool answer = prompter.askBinary('Do you like this Library?');
print(colorCode);
print(answer);
}