UNPKG

worktree-tool

Version:

A command-line tool for managing Git worktrees with integrated tmux/shell session management

20 lines 778 B
import { Command } from "commander"; import { CommandContext, CommandOptions } from "../core/types.js"; import { BaseCommand } from "./base.js"; export interface RemoveOptions extends CommandOptions { worktrees: string[]; force?: boolean; prune?: boolean; } export declare class RemoveCommand extends BaseCommand<RemoveOptions> { protected requiresConfig(): boolean; protected requiresGitRepo(): boolean; protected validateOptions(options: RemoveOptions): void; protected executeCommand(options: RemoveOptions, context: CommandContext): Promise<void>; private removeWorktree; private performSafetyChecks; private performCleanup; private executePrune; } export declare const removeCommand: Command; //# sourceMappingURL=remove.d.ts.map