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

discontinued

Library to create a CLI wizards

example/main.dart

import 'package:cli_prompter/cli_prompter.dart';

void main() {
  final List<Option> options = [
    Option(label: 'I want red', value: '#f00'),
    Option(label: 'I want green', value: '#0f0'),
    Option(label: 'I want blue', value: '#00f'),
  ];

  final Prompter prompt = Prompter();
  final input = prompt.askMultiple("What's your favourite colot", options);
  final answer = prompt.askBinary('do you like dart');
  print(input);
  print(answer);
}
0
likes
15
pub points
0%
popularity

Publisher

unverified uploader

Library to create a CLI wizards

Homepage

License

unknown (LICENSE)

More

Packages that depend on cli_prompter