lentil 0.0.3 copy "lentil: ^0.0.3" to clipboard
lentil: ^0.0.3 copied to clipboard

Library to create CLI wizards

example/main.dart

import 'package:lentil/lentil.dart';

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

  final String colorCode =
      prompter.askMultiple("What color do you like", options);
  final bool isCakeLover = prompter.askBinary("Do you like cake?");
  final String name = prompter.askOne("What's your name?");

  print(colorCode);
  print(isCakeLover);
  print(name);
}
0
likes
15
pub points
0%
popularity

Publisher

unverified uploader

Library to create CLI wizards

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on lentil