prompter_rrm 0.0.1 prompter_rrm: ^0.0.1 copied to clipboard
Library to create CLI Wizards
import 'package:prompter_rrm/prompter_rrm.dart';
void main(){
final options = [
new Option('I want Red', '#f00'),
new Option('I want Blue', '#00f')
];
final prompter = new Prompter();
String colourCode = prompter.askMultiple('Select a colour', options);
bool answer = prompter.askBinary('Do you like this lib?');
print(colourCode);
print(answer);
}