prompter_mdi79 0.0.1

Dart native
Flutter Android iOS

Library to create CLI wizards

example/main.dart

import 'package:prompter_mdi79/prompter_mdi79.dart';

void main() {
  final List<Option> options = [
    new Option('I want red', '#f00'),
    new Option('I want blue', '#00f'),
  ];

  final prompter = new Prompter();

  String colorCode = prompter.askMultiple('Select a color', options);

  bool answer = prompter.askBinary('Do you like this lib?');

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

Library to create CLI wizards

Homepage

Documentation

API reference

Uploader

miente.dijkstra@gmail.com

License

MIT (LICENSE)

More

Packages that depend on prompter_mdi79