bitwarden_cli

Function text_prompt_when_none

Source
pub fn text_prompt_when_none(
    prompt: &str,
    val: Option<String>,
) -> InquireResult<String>
Expand description

Prompt the user for input if the value is None

Typically used when the user can provide a value via CLI or prompt