Function clt::confirm
[−]
[src]
pub fn confirm(text: &str, default: bool, prompt_suffix: &str, show_default: bool) -> bool
Prompts for confirmation (yes/no question).
text- the question to askdefault- the default for the promptprompt_suffix- a suffix that should be added to the promptshow_default- shows or hides the default value