prompter_lz 0.1.1 copy "prompter_lz: ^0.1.1" to clipboard
prompter_lz: ^0.1.1 copied to clipboard

Library to create CLI wizards. Provide the multi options questions for user to select. It also provide the binaray question which is let user to input Y or N which means yes or no.

example/main.dart

import 'package:prompter_lz/prompter_lz.dart';

void main(List<String> args) {
  final prompt = const Prompter();

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

  final colorCode = prompt.askMultiple("What's your favorite color?", options);
  final answer = prompt.askBinary("Do you love dart?");
  print(colorCode);
  print(answer);
}
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Library to create CLI wizards. Provide the multi options questions for user to select. It also provide the binaray question which is let user to input Y or N which means yes or no.

Homepage

License

unknown (LICENSE)

More

Packages that depend on prompter_lz