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

Library to create CLI wizards, which I created while learning about Dart.

example/main.dart

import 'package:prompter_dk/prompter_dk.dart';

void main() {
  final List<Option> options = [
    new Option("This is red", "#f00"),
    new Option("This is blue", "#00f")
  ];

  final Prompter prompter = new Prompter();
  
  String colorCode = prompter.askMultipleChoice("Select a color", options);
  bool like = prompter.askBinary("You like?");

  print("Color: $colorCode, like: $like");
}
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

Library to create CLI wizards, which I created while learning about Dart.

Homepage

License

unknown (LICENSE)

More

Packages that depend on prompter_dk