wizard_dub_ski 0.0.1 wizard_dub_ski: ^0.0.1 copied to clipboard
Library to create CLI wizards by Zhenya Dubskiy <e.dubskiy@gmail.com>
import 'package:wizard_dub.ski/wizard_dub.ski.dart';
void main() {
List<Option> 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);
}