prompter_sggg 0.0.8 icon indicating copy to clipboard operation
prompter_sggg: ^0.0.8 copied to clipboard

Library to create CLI wizards

example/main.dart

import 'package:prompter_sggg/prompter_sggg.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('Select a color', options);

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

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

Publisher

unverified uploader

Library to create CLI wizards

Homepage

Documentation

API reference

License

Icon for licenses.unknown (LICENSE)

More

Packages that depend on prompter_sggg