Registry / cli / rprompt

rprompt

JSON →
library2.2.0rscratesunverified

Prompt user input in console applications.

# Cargo.toml [dependencies] rprompt = "2.2.0"
INSTALL
IMPORT
SIG · RPROMPT
R
rprompt
clirustv2.2.0
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.

prompt_reply
use rprompt::prompt_reply;

Prompt the user for input and read a line.

use rprompt::prompt_reply; let name = prompt_reply("What is your name? ").unwrap();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Amazon
1
Resources
rprompt — cargo add rprompt · libregistry