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