prompter_dl 0.0.4 prompter_dl: ^0.0.4 copied to clipboard
Library to create commandline tools
import 'package:prompter_dl/prompter_dl.dart';
void main() {
final List<Option> options = [
new Option('i want red', '#f00'),
new Option('i want blue', '#00f')
];
final Prompter prompter = new Prompter();
String colorCode = prompter.askMultiple('Select a color', options);
bool answer =
prompter.askBinary('Do you love the dart programming language?');
print(colorCode);
print(answer);
}