prompter_sid 0.0.2 prompter_sid: ^0.0.2 copied to clipboard
Library to create create CLI Wizards
import 'package:prompter_sid/prompter_sid.dart';
void main() {
List<Option> options = [
Option(label: 'I want red', value: '#F00'),
Option(label: 'I want blue', value: '#0FF')
];
final String colorCode =
Prompter.askMultiple('What color do you want?', options);
final bool answer = Prompter.askBinary('Do you like this lib?');
print(colorCode);
print(answer);
}