pub fn remove(name: &str, force: bool) -> Result<()>Expand description
Plan and execute package removal in one call.
This helper is intentionally small: it first resolves a removal plan, then
hands the plan to the execution layer. It does not perform UI prompting or
confirmation logic, so callers that need to warn the user about dependent
packages should use plan_removal directly before deciding whether to
call this function.