promptr 1.0.0
promptr: ^1.0.0 copied to clipboard
A simple and extensible Dart package for creating interactive command-line interfaces. Includes support for text input, confirmations, and menu-style selections—ideal for building robust CLI tools.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add promptrWith Flutter:
$ flutter pub add promptrThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
promptr: ^1.0.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:promptr/promptr.dart';