Skip to main content

should_proceed_destructive

Function should_proceed_destructive 

Source
pub fn should_proceed_destructive(action: &str) -> bool
Expand description

Check if a destructive action should proceed

Returns true if –yes is set or if the user confirms interactively. Returns false in non-interactive mode without –yes.