prompter_ajb 1.0.0 copy "prompter_ajb: ^1.0.0" to clipboard
prompter_ajb: ^1.0.0 copied to clipboard

Library ro create CLI wizards.

example/main.dart

import 'package:prompter_ajb/prompter_ajb.dart';

void main() {
  final prompter = Prompter();
  var options = [
    Option('I want red', '#f00'),
    Option('I want blue', '#00f'),
  ];
  final colorCode = prompter.askMultiple('What color do you want?', options);

  final bool answer = prompter.askBinary('Do you like this lib?');

  print(colorCode);
  print(answer);
}
0
likes
120
points
50
downloads

Publisher

unverified uploader

Weekly Downloads

Library ro create CLI wizards.

Documentation

API reference

License

unknown (license)

More

Packages that depend on prompter_ajb