Skip to main content

delete_template_confirmed

Function delete_template_confirmed 

Source
pub async fn delete_template_confirmed(
    session: &mut Session,
    id: Uuid,
    yes: bool,
    interactive: bool,
    input: impl BufRead,
) -> Result<bool, CommandError>
Expand description

Deletes the template unless the answer declines; returns whether it was deleted.