prompter_dl 0.0.4 copy "prompter_dl: ^0.0.4" to clipboard
prompter_dl: ^0.0.4 copied to clipboard

Library to create commandline tools

example/main.dart

import 'package:prompter_dl/prompter_dl.dart';

void main() {
  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 love the dart programming language?');

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

Publisher

unverified uploader

Library to create commandline tools

Homepage

License

unknown (LICENSE)

More

Packages that depend on prompter_dl