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

Library to create CLI wizards

A flutter library to implement CLI wizards for multiple choice and binary questions.

Usage #

Import this library to your application and use import 'package:prompter_al/prompter_al.dart';

final Prompter prompter = Prompter();

final List<Option> options = [
  Option(label: 'help', value: 'Displays this help message.'),
  Option(label: 'version',value:  'Displays the version of the awesome tool.'),
  // Add more options as needed.
];

final String prompt = 'What would you like to do?';

String result = prompter.askMultipleChoice(prompt, options);

print('You chose: $result');
0
likes
140
points
9
downloads

Publisher

verified publisherandreas-lange.eu

Weekly Downloads

Library to create CLI wizards

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on prompter_al