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