promptosaurus 0.0.1

Dart native
Flutter Android iOS

Library to create CLI wizards

example/main.dart

import 'package:promptosaurus/promptosaurus.dart';


void main() {

  final options = [
    new Option('I want red', '#f00'),
    new Option('I want blue', '#00f'),
  ];

  final prompter = new Prompter();

  String colorCode = prompter.askMultiple('Please select a color', options);
  bool answer = prompter.askBinary('Do you like this library');

  print(colorCode);
  print(answer);
}