FLUTTER ECOSYSTEM

cli_dialog

Create beautiful and powerful CLI prompts in Inquirer.js style and test them.

cli_dialog cover
Latest version
0.5.0
30-day downloads
1.9K
Likes
38
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter/Dart package that enables the creation of visually appealing and interactive command-line interface (CLI) prompts inspired by Inquirer.js. It allows developers to build rich user interactions directly in the terminal, such as input forms, selection menus, and confirmation dialogs. The package is designed with testing in mind, making it easy to simulate and validate CLI workflows. Compatible across macOS, Windows, and Linux, it integrates seamlessly into Dart-based CLI applications.

Use cases
  • Building interactive CLI tools
  • Testing terminal-based user flows
  • Creating setup wizards
  • Developing command-line configuration utilities
  • Implementing user input validation
Key features
  • Inquirer.js-style prompts
  • Built-in testing support
  • Cross-platform compatibility
  • Simple API for common prompt types
  • Supports async user interactions
Suitable for
  • Dart developers building CLI apps
  • Teams needing testable terminal interfaces
  • Tools requiring user input in scripts
  • Educational projects teaching CLI design
  • Automation scripts with user interaction
Considerations
  • Requires terminal environment
  • Limited to console-based output
  • May need additional setup for complex UIs
  • Not suitable for GUI applications
  • Dependent on platform-specific terminal behavior
Supported platformsmacOSWindowsLinux

Install package

flutter pub add cli_dialog

Categories

Dependencies

Dependency list 1 items

Source repository

Related projects

No data available yet.