pub fn start_integrated_remove_all(
app: &mut AppState,
names: &[String],
dry_run: bool,
cascade_mode: CascadeMode,
)Expand description
What: Start integrated remove process (bypassing preflight).
Inputs:
app: Mutable application statenames: Package names to removedry_run: Whether to run in dry-run modecascade_mode: Cascade removal mode
Output:
- In interactive mode: Proceeds directly to
PreflightExecwithout password modal. - Otherwise: Transitions to
PasswordPrompt.
Details:
- Remove operations always need privilege escalation.
- In
auth_mode = interactive, Pacsea performs terminal handoff auth and then starts execution without collecting a password in-app. - Outside interactive mode, remove keeps using the in-app password prompt.
- Uses
ExecutorRequest::Removefor execution.