cli_wizard_avs 0.0.3 copy "cli_wizard_avs: ^0.0.3" to clipboard
cli_wizard_avs: ^0.0.3 copied to clipboard

Library to create CLI wizards

example/main.dart

import 'package:cli_wizard_avs/cli_wizard_avs.dart';

void main() {
  List<Option> options = [
    Option(label: 'I want red', value: '#f00'),
    Option(label: 'I want blue', value: '#00f'),
    Option(label: 'I want white', value: '#fff'),
    Option(label: 'I want black', value: '#000'),
  ];
  final prompter = Prompter();

  String colourCode = prompter.askMultiple('Select a colour', options);

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

  print('colour code selected: $colourCode');
  print('answer entered: $answer');
}
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

Library to create CLI wizards

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on cli_wizard_avs