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

Library to create CLI wizards

example/main.dart

import 'package:prompter_rs/prompter_rs.dart';

void main() {
  var options = [
    new Option(label: 'I want Red', value: '#f00'),
    new Option(label: 'I want Blue', value: '#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);
}
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

Library to create CLI wizards

Homepage

License

unknown (LICENSE)

More

Packages that depend on prompter_rs