prompter_ec 0.0.1 copy "prompter_ec: ^0.0.1" to clipboard
prompter_ec: ^0.0.1 copied to clipboard

Library to create CLI wizards

example/main.dart

import 'package:prompter_ec/prompter_ec.dart';

void main() {
  

  var options = [
    new Option('I want red', '#f00'),
    new Option('I want blue!', '#00f'),
  ];

  final prompt = Prompter();

  String colorCode = prompt.askMultiple('What color would you like?', options);

  bool answer = prompt.askBinary('Do you like Dart ');

  print(colorCode);
  print(answer);

}
0
likes
15
pub points
0%
popularity

Publisher

unverified uploader

Library to create CLI wizards

Homepage

License

unknown (LICENSE)

More

Packages that depend on prompter_ec