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

outdated

Library to create CLI wizards

Lentil #

Your dart CLI wizard.

Dart Cli Example

Getting Started #

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

  1. Clone repo
  2. Run pub get
  3. Execute main.dart in the example directory.
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?");

  print(colorCode);
  print(isCakeLover);
}

Built With #

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