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

Library to create CLI wizards

example/main.dart

import 'package:prompter_sl/prompter_sl.dart';

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

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

  bool answer = prompter.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_sl