Skip to main content

delete_worktrees

Function delete_worktrees 

Source
pub fn delete_worktrees(
    inputs: Vec<String>,
    interactive: bool,
    dry_run: bool,
    flags: DeleteFlags,
    lookup_mode: Option<&str>,
) -> Result<i32>
Expand description

Top-level orchestrator for gw delete.

inputs is empty for the legacy “current worktree” case and for the -i interactive case — the caller passes interactive=true to trigger the selector.