prompter_crh 1.0.0 prompter_crh: ^1.0.0 copied to clipboard
Library to create CLI wizards
import 'package:prompter_crh/prompter_crh.dart';
void main() {
var options = [
Option('I want red', '#f00'),
Option('I want blue', '#00f'),
];
final prompter = Prompter();
String colorCode = prompter.askMultiple('Select a color', options);
bool answer = prompter.askBinary('Do you like this lib?');
print(colorCode);
print(answer);
}