prompter_sj 0.0.1 prompter_sj: ^0.0.1 copied to clipboard
library to create CLI wizard
//Todo This is file outside lib and to import files from lib
import 'package:prompter_sj/prompter_sj.dart';
void main() {
final options = [
new Option('I want red', '#f00'),
new Option('I want blue', '#00f')
];
final prompter = new Prompter();
String colorCode = prompter.askMultiple('Select a Color', options);
bool answer = prompter.askBinary('Do you Like this Lib ?');
print(answer);
print(colorCode);
}