cli_menu 0.4.0+1 copy "cli_menu: ^0.4.0+1" to clipboard
cli_menu: ^0.4.0+1 copied to clipboard

A simple command-line menu (picker) compatible with Linux, Mac and Windows. It supports selection by using arrow keys on ANSI terminals.

example/example.dart

import 'package:cli_menu/cli_menu.dart';

void main() {
  print('Pick favorite color:');
  final menu = Menu(['Red', 'Green', 'Orange', 'Fuchsia']);
  final result = menu.choose();
  print('You picked: $result');
}
19
likes
160
points
263
downloads

Publisher

verified publisherfiliph.net

Weekly Downloads

A simple command-line menu (picker) compatible with Linux, Mac and Windows. It supports selection by using arrow keys on ANSI terminals.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cli_util

More

Packages that depend on cli_menu