Skip to main content

run_account_delete

Function run_account_delete 

Source
pub async fn run_account_delete<S, P>(
    args: &AccountDeleteArgs,
    store: &S,
    prompt: &mut P,
) -> Result<bool>
where S: UserStore + ?Sized, P: Prompt,
Expand description

Run account delete. Returns Ok(true) when a row was actually removed, Ok(false) when the user id was unknown, and Err(..) when the caller skipped confirmation without --yes.