prompter_sbh 0.0.2 prompter_sbh: ^0.0.2 copied to clipboard
prompter_sbh is a command line interface (CLI) library that helps you make your own CLI apps.
import 'package:prompter_sbh/prompter_sbh.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);
}