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

Library to create CLI wizards (dart learning course)

example/main.dart

import 'package:prompter_rj/prompter_rj.dart';

void main() {

  final options = <Option>[
    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
10
pub points
0%
popularity

Publisher

unverified uploader

Library to create CLI wizards (dart learning course)

Homepage

License

unknown (LICENSE)

More

Packages that depend on prompter_rj