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

Library to create CLI wizards

example/main.dart

import 'package:prompter_teachyleaf/prompter_teachyleaf.dart';

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

  final prompter = Prompter();

  String colorCode = prompter.askMultiple('Select a color.', options);
  bool answer = prompter.askBinary('Do you like this lib?');

  print(colorCode);
  print(answer);
}
1
likes
120
pub points
0%
popularity

Publisher

unverified uploader

Library to create CLI wizards

Homepage

Documentation

API reference

License

unknown (license)

More

Packages that depend on prompter_teachyleaf