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

Library to create CLI wizards

example/main.dart

import 'package:prompter_x/prompter_x.dart';

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

  final promter = Prompter();
  String colorCode = promter.askMultiple('Select a color', options);

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

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

Publisher

unverified uploader

Library to create CLI wizards

Homepage

License

unknown (LICENSE)

More

Packages that depend on prompter_x