A library for Dart developers.

Usage

A simple usage example:

import 'package:wizardprompt/wizardprompt.dart';

void main() {

  final options = [
    // Option(label, value);
    Option('Coffee', 'Cappuccino'),
    Option('Whisky', 'Johnnie Walker Black Label')
  ];

  final prompter = Prompter();

  String drinkOrder = prompter.askMultiple('Choose a drink', options);

  bool answer = prompter.askBinary('Do you like Dart?');
  print(drinkOrder);
  print(answer);
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

Libraries

wizardprompt