pub fn clean_worktrees(
merged: bool,
older_than: Option<u64>,
dry_run: bool,
force: bool,
interactive: bool,
) -> Result<i32>Expand description
Top-level gw clean entry point.
Returns an exit code (0/1/2) matching the convention gw delete uses:
0: every selected worktree was deleted (or filters matched nothing).1: user cancelled at the batch-confirmation prompt.2: misuse (no filter flags / removed-iflag), or any worktree was skipped (busy) or failed to delete.