use-prompt
Prompt text and confirmation primitives for RustUse CLI-adjacent code.
This crate stores prompt text and parses yes/no confirmation answers. It does not implement an interactive UI loop, prompt renderer, or terminal framework.
Example
use ;
let prompt = new?;
let answer = parse_confirmation?;
assert_eq!;
assert_eq!;
# Ok::
Scope
Use this crate for prompt vocabulary and confirmation parsing only.