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

Library to create CLI wizerds

example/main.dart

//demo how to use our library
import 'package:promto/promto.dart';

void main(List<String> args) {
  var options = [
    new Option('I wanr red', '#f00'),
    new Option('I want blue', '#00f')
  ];
  final promptor = new Promptor();

  String colorCode = promptor.askMultiple('select the colors', options);

  bool answer = promptor.askBinary('Do you like this lib?');
  print(colorCode);
  print(answer);
}
0
likes
20
points
7
downloads

Publisher

unverified uploader

Weekly Downloads

Library to create CLI wizerds

Homepage

License

unknown (license)

More

Packages that depend on promto