qmetrics.net

inquire

Rust library for interactive terminal CLI prompts

TerminalsDesktop/CLI app
inquire screenshot

inquire is a Rust crate for building interactive prompts in terminal applications. It offers several prompt types for collecting user input on the command line.

Overview

inquire helps Rust developers add interactive question-and-answer flows to command-line programs. Prompts run in the terminal and cover common patterns such as short text, multi-line editor input, dates, single and multi-select lists, yes/no confirmation, typed parsing, and password entry.

Each prompt type supports customization of themes, defaults, placeholders, validators, formatters, help text, and related behavior. Text prompts can offer autocompletion; select lists support filtering and fuzzy scoring. Optional feature flags enable editor and calendar prompts.

The library defaults to the crossterm terminal backend for broad platform support, including Windows, and can switch to termion or console via Cargo features so projects can align with an existing dependency. It manages terminal state during prompts and documents signal-handling concerns for applications that may exit abruptly.

Developers integrate inquire by adding it as a Cargo dependency and calling prompt APIs when building CLI tools. One-line helper functions exist for common cases such as text, numbers, dates, secrets, and confirmation.

Key features

  • Multiple interactive prompt types
  • Custom render themes and styles
  • Input validators and formatters
  • Text autocompletion support
  • Fuzzy filter for select lists
  • Swappable terminal backends
  • Optional editor and date prompts
  • Built-in validator shorthand macros

Use cases

  • CLI configuration wizards
  • Interactive setup scripts
  • Terminal survey and form tools
  • Password and secret prompts
  • Menu-driven command-line apps

Tags

Similar software

Oh My Zsh

Community zsh configuration framework with plugins

Oh My Zsh manages zsh setup with bundled plugins, themes, and an installer driven by curl, wget, or fetch.

★ 190.9k⟳ yesterdayMIT
TerminalsDesktop/CLI app

Gemini CLI

Terminal AI agent for enterprise Gemini Code Assist

Gemini CLI is an open-source command-line agent for querying and editing codebases, running shell workflows, and connecting MCP tools under Gemini Code Assist on Google Cloud.

★ 109.2k⟳ 2 days agoApache-2.0
AI Assisted CodingDesktop/CLI app

Terminal

Modern tabbed terminal for Windows command-line users

Windows Terminal is a desktop terminal application for Windows with tabs, theming, and rich text. The same codebase includes the classic console host and shared rendering components.

★ 105.5k⟳ 2 days agoMIT
TerminalsDesktop/CLI app

fzf

General-purpose command-line fuzzy finder

Fzf filters lists interactively in the terminal using fuzzy matching. It ships as a single binary with shell and editor integrations.

★ 84.5k⟳ 3 days agoMIT
TerminalsDesktop/CLI app

Lazygit

Terminal user interface for everyday Git workflows

Lazygit wraps common Git operations in a keyboard-driven terminal UI. You can stage partial changes, rebase, cherry-pick, and inspect history without memorizing fragile command sequences.

★ 84.1k⟳ 5 days agoMIT

Tabby

Configurable cross-platform terminal with SSH and serial

Tabby is a terminal emulator for local shells, SSH, Telnet, and serial links on Windows, macOS, and Linux. It adds splits, tabs, themes, and integrated connection management.

★ 75.6k⟳ 4 days agoMIT
TerminalsDesktop/CLI app
Open Source Alternative to:Termius