Registry / cli / tty-prompt

tty-prompt

JSON →
library0.23.1rbrubygemsunverified

A beautiful and powerful interactive command line prompt with a robust API for getting and validating complex inputs.

gem install tty-prompt
INSTALL
IMPORT
SIG · TTY-PROMPT
T
tty-prompt
clirubyv0.23.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TTY::Prompt
require 'tty-prompt'

Ask for user input in the terminal.

require 'tty-prompt' prompt = TTY::Prompt.new name = prompt.ask('What is your name?')
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.23.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
28
OpenAI (training)
1
Resources
tty-prompt — gem install tty-prompt · libregistry