prompter_matr0s 0.0.2 prompter_matr0s: ^0.0.2 copied to clipboard
Library to create CLI wizard
import '../lib/prompter_matr0s.dart';
void main() {
var prompter = Prompter();
List<Option> options = [
Option(label: 'I want red', value: '#f00'),
Option(label: 'I want blue', value: '#00f'),
];
final String colorCode =
prompter.askMultiple('Choose your color, pls', options);
final bool answer = prompter.askBinary('Do you like Dart?');
print('Color code is $colorCode and Answer is $answer');
}